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 `xamppphp` you will find two DLL: libeay32.dll and ssleay32.dll. Copy them into the folder `xamppapachebin`
  3. Open the `xamppphpphp.ini` file and remove the semicolon in front of `extension=php_openssl.dll`
  4. Start you Apache

5 thoughts on “Xampp – Open SSL – Don’t know how to get public key from this private key”

  1. Hi
    I already have those two files in apachebin and php_openssl.dll enable in php.ini.
    Is there something special about the versions in xamppphp which the apache versions don’t have?

    thanks
    Russell

  2. I wasted 2 days trying to sort out this problem until I found this post. How on earth did you figure it out? Top man, thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *