|
Re: java.rmi.ConnectIOException: error during JRMP connection establishment: msg#00029java.sun.rmi
> if i donīt use client auth my connection is not broken. That's good to know. > Here is the command line that i use to launch my server and my client : > > Server: > -Djava.rmi.server.codebase="file:///D:/ProjectName/classes/" > -Djavax.net.debug=SSL,handshake,data,trustmanager > -Djavax.net.ssl.trustStore=D:\ProjectName\server.keystore > -Djavax.net.ssl.keyStore=D:\ProjectName\server.keystore > -Djavax.net.ssl.keyStorePassword=server > > ... and the Client: > -Djava.rmi.server.codebase="file:///D:/ProjectName/classes/" > -Djavax.net.ssl.trustStore=D:\ProjectName\server.keystore > -Djavax.net.ssl.keyStore=D:\ProjectName\client.keystore > -Djavax.net.ssl.keyStore=D:\ProjectName\server.keystore > -Djavax.net.ssl.keyStore=D:\ProjectName\client.keystore > -Djavax.net.ssl.keyStorePassword=client > -Djava.rmi.server.codebase="file:///D:/ProjectName/classes/" > -Djavax.net.debug=SSL,handshake,data,trustmanager Presumably the multiple specifications of the "javax.net.ssl.keyStore" and "java.rmi.server.codebase" system properties is a mistake? How is the SSL socket created on the client side? Does it use the "default SSLContext"? If not, how is its SSLContext initialized? If you add "defaultctx,sslctx,keymanager" to the javax.net.debug tracing options on the client side, does the output reveal any clues? -- Peter =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Identifying Client Callbacks, Peter Jones - JavaSoft East |
|---|---|
| Next by Date: | Re: Overiding one permission, Peter Jones - JavaSoft East |
| Previous by Thread: | Re: java.rmi.ConnectIOException: error during JRMP connection establishment;, César Fernando Henriques |
| Next by Thread: | Re: java.rmi.ConnectIOException: error during JRMP connection establishment;, César Fernando Henriques |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |