Bug #51647 Certificate file without private key (pk in another file) doesn't work
| From: | Andrey Hristov | Date: | Fri, 23 Apr 2010 14:53:13 +0000 |
| Subject: | Bug #51647 Certificate file without private key (pk in another file) doesn't work | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-48069@lists.php.net to get a copy of this message | ||
Pierre,
if you don't like the patch I have committed to openssl to fix the problem you can revert it, but only if you can provide a better one.
The test case is ext/mysqli/tests/bug51647.phpt
You need to start the MySQL server with the following options :
ssl-ca=/path/to/cacert.pem
ssl-cert=/path/to/server-cert.pem
ssl-key=/path/to/server-key.pem
All files you can find here:
http://www.hristov.com/andrey/projects/php_stuff/certs/
The client certificates are already in the SVN repository.
Andrey