a colleague had a problem with the connection to an SSL Server using his own developed application. I configured my Tomcat machine with a self-signed certificate (.pem) and a connection via browser works fine. Hi tried to add mine certificate to his “application resources” but doesn’t works. Can anyone helps me and my colleague? Do I modify any setting on my server.xml or web.xml? Thanks.
Share
The Android application needs to be slightly modified in order to accept self-signed certificates. You have two options at this point, either:
TrustManagerwhich also includes the specific server certificate (along with the defaults, if necessary). Here’s one example.