• Post Reply Bookmark Topic Watch Topic
  • New Topic

SSL connection  RSS feed

 
pavanasree vasireddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!