Jimmy Hui [http://community.jboss.org/people/jimmy.hui] created the discussion
"Retrieve Server's Certificate"
To view the discussion, visit: http://community.jboss.org/message/547251#547251
--------------------------------------------------------------
Hi,
I currently have EJB3 via SSL working with a self signed certificate for the server. The client specifies a truststore which includes the server's certificate and all works well in this scenario.
However if I don't define the truststore for the client, it obviously fails but my question is can I programmatically retrieve the server's certificate and prompt the user asking them if they trust this certificate? Which I can then programmatically add to a truststore (just like how a browser does it) ?
Cheers,
Jimmy
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/547251#547251]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Peter Johnson [http://community.jboss.org/people/peterj] replied to the discussion
"Where does org.jboss.security.ClientLoginModule get usernames and passwords from?"
To view the discussion, visit: http://community.jboss.org/message/547239#547239
--------------------------------------------------------------
Now you know why I asked where the auth.conf file was located within your project!
This brings up another point: never, ever, under any circumstances trust Eclipse. In its feeble attempts to be helpful it usually does more harm than good. Always verify things from the command line!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/547239#547239]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]