2 Replies Latest reply on Dec 13, 2003 11:53 AM by timfanelli

    JNDI Over HTTPS --

    timfanelli

      Hi Everyone -

      I need to configure JNDI for use of HTTPS -- I have JNDI working over HTTP using the http-invoker servlets, and I've configured SSL in the tomcat bundler (I can connect to https://localhost:8443 just fine). But when I set my jndi provider url to be https://localhost:8433/invoker/JNDIFactory, I get SSL Handshake Exceptions -- can't find a trusted key.

      I need to know how to generate a self signed certificate (I've already generated a certificate using keytool -genkey; but how do I sign it?) and how do I tell my client that it can trust it?

      Thanks,
      Tim Fanelli

      http://www.jetia.com
      http://www.timfanelli.com

        • 1. Re: JNDI Over HTTPS --

          Did you specify your keystore as a trusted one?
          –Djavax.net.ssl.trustStore=<keystore location>

          • 2. Re: JNDI Over HTTPS --
            timfanelli

            I think 90% of my problem here is I don't know how to work with the keystores. Do I specify the trusted keystore on the clientt or on the server? If on the client, do I just copy the keystore that I made for the server to the client and use that? Or do I have to export a certificate and import that into the client's keystore?

            Thanks again,
            Tim