Hi,
does anybody know a way to add SSL certs that I want to trust to glassfish at
runtime? In my business logic I use a library that connects via HTTPS to a remote
host and always fails until I add the certificate to
$GLASSFISH_HOME/domains/<domain>/config/cacerts.jks
and restart Glassfish.
The tricky part now is that the remote host is defined by the user so I have to find a
way to trust any certificate. Is there any way to set some kind of policy, some way of
trusting a cert?
Thanks for any help!
-Danny
[Message sent by forum member 'dan_b' (dan_b)]
http://forums.java.net/jive/thread.jspa?messageID=204236