Xampp – Open SSL – Don’t know how to get public key from this private key

When enabling OpenSSL you might get this error message if you use Xampp on Windows. Follow this steps to resolve the problem:

  1. Stop your Apache.
  2. In the folder `xampp\php` you will find two DLL: libeay32.dll and ssleay32.dll. Copy them into the folder `xampp\apache\bin`
  3. Open the `xampp\php\php.ini` file and remove the semicolon in front of `extension=php_openssl.dll`
  4. Start you Apache
原文地址:https://www.cnblogs.com/cnsanshao/p/2620026.html