@我愛佳娃
我愛娃娃,按照上文,用OPENSSL的私鑰 ./private/cakey.pem 為javatool的公鑰簽名請求"clientapp.crs"做簽名的時候,也就是執行語句:
openssl ca -out clientapp.pem -config ./openssl.cnf -infiles clientapp.crs
結果如下:
**************************************************
[~~~~ CA]$ openssl ca -out clientapp.pem -config ./openssl.cnf -infiles clientapp.crs
Using configuration from ./openssl.cnf
Enter pass phrase for ./private/cakey.pem:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName :ASN.1 12:'liangleping'
organizationName :ASN.1 12:'HuaWei'
organizationalUnitName:ASN.1 12:'Develop'
localityName :ASN.1 12:'Cheng Du'
stateOrProvinceName :ASN.1 12:'Si Chuan'
countryName :ASN.1 12:'ch'
The countryName field needed to be the same in the
CA certificate (ch) and the request (ch)
************************************************
最后出現:The countryName field needed to be the same in the
回復 更多評論