I've written a secure socket based server in Java which has a keyStore and a trustStore generated with the keytool command in Linux.
Now, I have a Java client which can connect to the server only by having signed certificates (which I also made with keytool). That all works fine....
Now I'm using a PHP client to connect to my Java server and it works if I don't use the secure socket version (that is it works if I use normal sockets).
But I want to open my socket connection in php with secure sockets, using .. fsockopen(ssl://ip-number) ... but I need my PHP client to use the certificates like my Java client (in Java, the keyStore and trustStore are imported as Java properties at startup)
Does anyone know if there are openssl routines to do this in PHP and maybe if I have to use a different approach (perhpas keytool is limited to Java?)
Thanks in advance,
Bergsteinn Einarsson Reykjavik, Iceland [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php