File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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
 
wood burning stoves
 
subject: No trusted certificate found IMAP Mail client Over SSL
 
Similar Threads
ssl configuration in tomcat
Default keyStore/trustStroe for the tomcat server
One way SSL - Certificate not trusted - Server trust store
Tomcat axis2 web service with HTTPS
No trusted certificate found IMAP Mail client Over SSL