Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

No trusted certificate found IMAP Mail client Over SSL

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.

See where your hand is? Not there. It's next to this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic