Session s = NotesFactory.createSession(
host, user, pwd);
With:
String args[] = new String[1];
args[0] = "-ORBEnableSSLSecurity";
Session s = NotesFactory.createSession(
host, args, user, pwd);
TrustedCerts.class (typically in domino\java in the data directory of the server) must be on the classpath. This file is generated by the DIIOP task when it starts.
In order to enable SSL for an applet, you should also enable the attribute "Applet uses CORBA SSL Security" in the "Java Applet Properties" dialog.