是的。如果 EKU 允许。
如果证书中允许,您可以使用证书/密钥作为客户端证书。即 if在(EKU) 部分中TLS Web Client Authentication是允许的。Extended Key Usage
例如:在example.com证书中它实际上是允许的。(我不知道。)
$ echo -n | openssl s_client -connect example.com:443 2>/dev/null | openssl x509 -noout -text | grep Authentication -B1
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
好像流传很广。
下面是大型网站的快速现成示例。
$ echo -n | openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -text | grep Authentication -B1
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
$ echo -n | openssl s_client -connect amazon.com:443 2>/dev/null | openssl x509 -noout -text | grep Authentication -B1
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
$ echo -n | openssl s_client -connect microsoft.com:443 2>/dev/null | openssl x509 -noout -text | grep Authentication -B1
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
$ echo -n | openssl s_client -connect apple.com:443 2>/dev/null | openssl x509 -noout -text | grep Authentication -B1
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
进一步阅读: