I am developing midlet app which will send data to server to be stored there.
I am using tomcat6, xampp and mysql database.
I am sending encrypted data that is why using SSL connection
I have configured my tomcat6 to open https://localhost:8443 by creating ceritificate and enabling the server.xml file of tomcat
If I send the encrypted data via Internet explorer "data send example = https//localhost:8443/ServletName/?b=EncryptedData"
the data is successfully saved in the database.
but when i try to do same in the midlet, I am having following certificate exception:
javax.microedition.pki.CertificateException: Certificate was issued by an unrecognized entity
How to solve this exception to allow https as I have tried with http the connection has no problem.
Thanks in advance