aspose file tools*
The moose likes Security and the fly likes No trusted certificate found IMAP Mail client Over SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "No trusted certificate found IMAP Mail client Over SSL" Watch "No trusted certificate found IMAP Mail client Over SSL" New topic
Author

No trusted certificate found IMAP Mail client Over SSL

Apps Appagundi
Greenhorn

Joined: Jun 30, 2010
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No trusted certificate found IMAP Mail client Over SSL
 
Similar Threads
No trusted certificate found IMAP Mail client Over SSL
ssl configuration in tomcat
One way SSL - Certificate not trusted - Server trust store
Default keyStore/trustStroe for the tomcat server
Tomcat axis2 web service with HTTPS