我是通过windows系统中的代码运行Mqtt客户端的。kmf.getKeyManagers(), tmf.getTrustManagers(), null);
}我得到下面的错误IPMqttException (0) - javax.net.ssl.SSLHandshakeException: No subject alternative names matching IP address
services/kubernetes: x509: cannot validate certificate for 10.254.0.1 because it doesn't contain any IPkubernetes名称: kubernetes Namespace: component=apiserver provider=kubernetes Selector: Type: ClusterIP IP
客户端设备(运行Windows10和带有StrongSwan应用程序的Android )无法连接。由一个权威机构签名的证书,CN被设置为服务器公共ip。-172-26-11-47 charon: 10[ENC] parsed IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUPFeb 19 07:03:03 ip-172-26-11-47 charon: 10[IKE] remote host is b
通过运行此命令,我可以看到SAN:...X509v3 Subject Alternative Name: 在C文件中,我尝试检索客户端SAN,以便可以使用服务器IP对其进行验证。) *san_names = NULL;
// Try to extract the names within the SAN