Forums Register Login

SSL connection

+Pie Number of slices to send: Send
hi,

I am trying to connect to Mail Server through SSL connection.

My program gives the following error.

Exception in thread "main" javax.mail.MessagingException: Connect failed;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:63)
at javax.mail.Service.connect(Service.java:227)
at explored.GetSSLMessageExample.main(GetSSLMessageExample.java:51)

Some one please help me


Thanks
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1034 times.
Similar Threads
Javamail Example Problem
Using Transport Security (SSL) in Web Service (CalulatorApp)
IOException while trying to connect using ssl
Failing applet connection with (SSL) https connection using proxy
SSL - java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:51:33.