PHP openssl_public_encrypt causing Page Timeout/Connection Reset?

浪子不回头ぞ 提交于 2019-11-29 07:29:50

Of note, this is an error found in recent versions of apache and php. The Apache version used non-compatible files. To resolve (temporarily on local machines only):

Replace the following two files in your xampp/apache/bin folder:

  • libeay32.dll
  • ssleay32.dll

with the files of the same name in your xampp/php folder. The issue was resolve for me immediately.

Have a look at this log entry:

[warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?

Do you still have the same error if you access the machine through its public name instead of localhost?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!