posted 18 years ago
Hi,
I have a j2me project that needs to connect https site. When I try to connect, a CertificateException.EXPIRED exception is catched. I want the mobile to accept this certificate and continue. Is that Possible?
When I caught the exception I get the certificate from the exception instance. I tried to set it to the connection using getSecurityInfo
but I discovered that SecurityInfo class has no setServerCertificate() method.
Anybody can help please
Thanks