File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes HTTPS in JDK1.1.8 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "HTTPS in JDK1.1.8" Watch "HTTPS in JDK1.1.8" New topic
Author

HTTPS in JDK1.1.8

Rods Oliveira
Greenhorn

Joined: Jul 06, 2004
Posts: 1
Hi everyone,

I have to make an HTTPS connection using JVM 1.1.8 (it's a Java Agent, in Domino 5 - sucks). The following snippet doesn't work, with jsse and jcert.

System.getProperties().put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

I'm getting the following error:
java.lang.NoClassDefFoundError: java/security/PrivilegedAction

Any ideas?

Regards.
 
IntelliJ Java IDE
 
subject: HTTPS in JDK1.1.8
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com