I am using the HttpsConnection of MIDP 2.0 (on a Nokia 6680) to access secure websites. However, should the certificate be invalid or just unknown to the phone, It throws the Certificate exception. Is there a way of dealing with this in the runtime? Like PC browser do - they ask the user if he wants to proceed, even the certificate is invalid.
How could I do that in Java?