I’m attempting to use Notes over ssl… now
I’ve done the self signed keyring, added that to the server page.
The BROWSER works properly on the http / https … I can see the certificate and it’s common name is the IP… everything matches up.
When I add this .cer file to the keystore I see it is in there… everything is fine.
YET, when I try to create a Session, it throws an exception.
Caused by:
lotus.domino.NotesException: null
at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
at lotus.domino.NotesFactory.getIOR(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at myclass.login(myClass.ja
va:777)
Caused by:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:197)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:267)
at java.io.BufferedInputStream.read(BufferedInputStream.java:324)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:658)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:607)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:624)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:966)
... 19 more
I’m about to just completely give up on SSL here and re-install notes. If anyone has any ideas I would love to hear it.
// Create session
if (getNotesBridgeConfig().isUseSSL()){
// enable SSL security
final String args[] = {"-ORBEnableSSLSecurity"};
thisSession = NotesFactory.createSession(logonString,
args,
getUserName(),
getPassword());
} else {
thisSession = NotesFactory.createSession(logonString,
getUserName(),
getPassword());
}
PS: Non - SSL works great over their respective ports.