MyTrustManager has no way to determine which socket is causing
the request.
My application has no way to obtain the certificate chain information
associated with a socket.
My application gets this:
javax.mail.MessagingException: Couldn't find trusted certificate;
nested exception is:
javax.net.ssl.SSLHandshakeException: Couldn't find trusted certificate
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:298)
at javax.mail.Service.connect(Service.java:227)
at javax.mail.Service.connect(Service.java:131)
Thanks for any help.