javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
问题 Basically, I have a Test server (Linux based) with a public IP bot no public hostname. So I am trying to create ssl certificates for it using IP address. So that my Java application can access another application using the IP address: For example like: https://210.10.10.10:8443/abc I followed below post: How are SSL certificate server names resolved/Can I add alternative names using keytool? I did try both the ways as suggested to avoid this exception but non is working. I am getting the same