我不明白openssl的输出。运行openssl,如下所示:
#openssl s_client -connect google.com:443 -CAfile cacert.pem < /dev/null
最终一切都很好,因为最终实体的证书已经过验证,可以:
Verify return code: 0 (ok)
但是return:1
在下面的中间输出的开头加w / verify 呢?这是什么意思呢?
depth = 3 C =美国,O = Equifax,OU = Equifax安全证书颁发机构验证回报:1 depth = 2 C = US,O = GeoTrust Inc.,CN = GeoTrust Global CA验证回报:1 depth = 1 C =美国,O = Google Inc,CN = Google Internet Authority G2验证返回:1 depth = 0 C =美国,ST =加利福尼亚,L =山景城,O = Google Inc,CN = google.com验证返回:1 --- 证书链 0 s:/ C = US / ST = California / L = Mountain View / O = Google Inc / CN = google.com i:/ C = US / O = Google Inc / CN = Google Internet Authority G2 1 s:/ C = US / O = Google Inc / CN = Google Internet Authority G2 i:/ C = US / O = GeoTrust Inc./CN=GeoTrust全球CA 2秒:/ C = US / O = GeoTrust Inc./CN=GeoTrust全球CA i:/ C = US / O = Equifax / OU = Equifax安全证书颁发机构 ---