I am trying to use jndi over https but I am getting handshake exception.
JNDI over http is working. I am running this program from stand alone java client and 
using self signed certificate on the server.

Properties env = new Properties(); 
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.naming.HttpNamingContextFactory"); 
env.setProperty(Context.PROVIDER_URL,"https://a.b.com:8443/invoker/JNDIFactory";); 
Context iniCtx = new InitialContext(env); 

I get the following exception-
Exception in thread "main" javax.naming.NamingException: Failed to retrieve Nami
ng interface.  Root exception is javax.net.ssl.SSLHandshakeException: Couldn't f
ind trusted certificate
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

On the server side I have made clentAuth=False in tomcat configuration.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851687#3851687

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851687


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to