Hi Tarek,
This appears to be a configuration problem with JSSE. I would recommend taking a look a the HttpClient SSL Guide <http://jakarta.apache.org/commons/httpclient/sslguide.html>, and the Troubleshooting section in particular. Also, please have a look at the JSSE install guide <http://java.sun.com/products/jsse/install.html> for some other ideas. You may want to try statically registering the SunJSSE provider. Please also make sure that you only have one copy of JSSE on the classpath.
Mike
On Jun 5, 2004, at 10:54 AM, Tarek M. Nabil wrote:
Hi everyone,
I know this question has been asked before, but I've checked out all the
threads and nothing seems to be of help. I'm building a web application on
Oracle 9iAS 9.0.3. The application is supposed to call some HTTPS URL to
retrieve some data. I'm using the commons-httpclient to achieve that, but I
keep getting this exception:
An IOException occurred while executing the HTTP method: SSL implementation
not available;
---> nested java.net.SocketException: SSL implementation not available
I did all the necessary steps as follows:
// set the properties
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
System.setProperty("javax.net.ssl.trustStore",
config.getSslCertLocation());
System.setProperty("javax.net.ssl.keyStorePassword", "changeit");
// add the provider java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
I'm sure the JSSE is on my class path, it's Sun's JSSE v.1.02.
The certificates I'm using are self signed, but I cannot use the sample provided in the "EasySSLProtocolSocketFactory" because I'm on JDK 1.3. Please advise me on what to do.
Thanks, Tarek Nabil
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
