建立连接时出现以下错误
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present in android
我尝试从 Android 设备使用“https”而不是“http”连接到服务器。
最佳答案
您应该从受信任的 CA 购买有效的证书,或使用替代解决方案,例如 Let's Encrypt
关于codenameone - 代号一 : Getting error while establishing connection with server having SSL certificates on Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46213069/