We have an JavaME application using SSL (SecureConnection) to communicate with a server on port 4421. The server is using a Thawte Server CA certificate.
This has worked on every phone before supporting JavaME MIDP 2.0. For example Nokia S40, S60 2nd ed, S60 3rd ed, S60 5th ed etc.
On Nokia N8 it gets:
javax.microedition.pki.CertificateException
Untrusted server certificate
The phone has the certificate in its list, if it connects with HTTPS instead of SSL the N8 can establish a connection to the server.
There seem to be a bug in the Nokia N8 JavaME implementation of SSL. For SSL it can't access the phones root-certificates from JavaME, but it can for HTTPS even though it should be the same handling of certificates.
Has anybody else been able to use SSL from JavaME in the Nokia N8? Or is there any JavaME applictions out there using SSL and is working?

Reply With Quote

