I'm working on java application that has to link to mail server and show
all unread emails.
I'm having problem with linking to https pages. It shows me excpetion:

javax.microedition.pki.CertificateException: Certificate was issued by an unrecognized entity

Is there any class (and which method) in java to trust all certificates
(similar to C# class).

I appreciate any kind of help about this topic.

Thanks in advance,