Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No trusted certificate found IMAP Mail client Over SSL

 
Apps Appagundi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using jdk 1.4.2 and my IMAPS client program is trying to fetch emails from exchange server

I have imported the Server certificate into cacerts keystore of jre/lib/security.

First time i run my client program i get mails from the INBOX folder.

If I leave it for say around 30 - 45 minutes and try again, i get the below exception

SSHHandShakeException: No trusted certificate found.

I did keytool -list -v -keystore cacerts and the certificate is there.


First few times it works, but after sometime i get the above exception.

This is driving me crazy.

Help is needed here.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic