php, java and ssl
| From: | A3-Mail Proxy Handler | Date: | Mon, 14 Oct 2002 08:11:23 +0000 |
| Subject: | php, java and ssl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119853@lists.php.net to get a copy of this message | ||
Hi,
I have a java class which uses ssl to perform some banking operations. As I have been instructed, I
downloaded certificates, classes (both jar files and class files) and installed them.
While testing from console, class established ssl connection to remote host and completed
transaction.
While usign within php after making required configuration I get the following error:
"java.net.SocketException: Default SSL context init failed: Algorithm SunX509 not available
"
Please note that, all other java functions are working. Only this function fails.
The same code, the same class works from console without any errors. Only php raises this error, and
only for ssl.
Here is my system:
Linux Redhat 7.1 with kernel 2.4.2
apache 1.3.26
php 4.2.3
java 1.4.0 (02) sdk
openssl 0.9.6g
Thanx...