• Post Reply Bookmark Topic Watch Topic
  • New Topic

No trusted certificate found IMAP Mail client Over SSL

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

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.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!