#19901 [NEW]: Cannot use ssl functions of java within php
| From: | umut at kakalak dot org | Date: | Mon, 14 Oct 2002 14:38:43 +0000 |
| Subject: | #19901 [NEW]: Cannot use ssl functions of java within php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-22373@lists.php.net to get a copy of this message | ||
From: umut@kakalak.org
Operating system: Linux Redhat 7.1
PHP version: 4.2.3
PHP Bug Type: Java related
Bug description: Cannot use ssl functions of java within php
I have a class which make use of basic ssl functions under java. I am
running this class from console and everything works fine. Connection with
my bank is established and transaction is completed.
I do the same things under php. Create a java object and run the needed
functions. Everything runs until the connection phase. Whenever I want to
connect to my bank server with ssl, function returns following error:
java.net.SocketException: Default SSL context init failed: Algorithm
SunX509 not available
Running code and error can be seen at
http://www.denizweb.net/testjava.php
http://www.denizweb.net/testjava.phps
phpinfo can be seen at
http://www.denizweb.net/phpinfo.php
a copy of my ini file can be seen at
http://www.denizweb.net/php.ini
Apache 1.3.26 statically linked.
Note that, these links will remain until someone finds a solution.
P.S.: The source code of class is not public and my Bank refuses revealing
the source code. But they say that, the class is general and should run
perfectly on any tcp/ip and java enabled system. They are also working on
the problem and sent me many small classes to find the problem. We are
focused on connection part, because php & java integration works without
any problems.
--
Edit bug report at http://bugs.php.net/?id=19901&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19901&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19901&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19901&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19901&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19901&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19901&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19901&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19901&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19901&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19901&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19901&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19901&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19901&r=isapi