[PHP] php, java and ssl

2002-10-14 Thread A3-Mail Proxy Handler

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...



Re: [PHP] php, java and ssl

2002-10-14 Thread Maxim Maletsky


You might want to submit it as a bug report in bugs.php.net. PLeasee add
to it the more detailed instructions.


-- 
Maxim Maletsky
[EMAIL PROTECTED]

www.PHPBeginner.com  // where PHP Begins



On Mon, 14 Oct 2002 11:11:23 +0300
A3-Mail Proxy Handler [EMAIL PROTECTED] wrote:

 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...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php