一,打开证书签名请求(CertificateSigningRequest.certSigningRequest)
1.终端 openssl asn1parse -i -in /Users/mac/Desktop/CertificateSigningRequest.certSigningRequest
包含了申请者信息,申请者公钥 ,摘要算法和公钥加密算法
0:d=0 hl=4 l= 641 cons: SEQUENCE
4:d=1 hl=4 l= 361 cons: SEQUENCE
8:d=2 hl=2 l= 1 prim: INTEGER :00
11:d=2 hl=2 l= 60 cons: SEQUENCE
13:d=3 hl=2 l= 31 cons: SET
15:d=4 hl=2 l= 29 cons: SEQUENCE
17:d=5 hl=2 l= 9 prim: OBJECT :emailAddress
28:d=5 hl=2 l= 16 prim: IA5STRING :906604243@qq.com
46:d=3 hl=2 l= 12 cons: SET
48:d=4 hl=2 l= 10 cons: SEQUENCE
50:d=5 hl=2 l= 3 prim: OBJECT :commonName
55:d=5 hl=2 l= 3 prim: UTF8STRING :Mac
60:d=3 hl=2 l= 11 cons: SET
62:d=4 hl=2 l= 9 cons: SEQUENCE
64:d=5 hl=2 l= 3 prim: OBJECT :countryName
69:d=5 hl=2 l= 2 prim: PRINTABLESTRING :CN
73:d=2 hl=4 l= 290 cons: SEQUENCE
77:d=3 hl=2 l= 13 cons: SEQUENCE
79:d=4 hl=2 l= 9 prim: OBJECT :rsaEncryption
90:d=4 hl=2 l= 0 prim: NULL
92:d=3 hl=4 l= 271 prim: BIT STRING
367:d=2 hl=2 l= 0 cons: cont [ 0 ]
369:d=1 hl=2 l= 13 cons: SEQUENCE
371:d=2 hl=2 l= 9 prim: OBJECT :sha256WithRSAEncryption
382:d=2 hl=2 l= 0 prim: NULL
384:d=1 hl=4 l= 257 prim: BIT STRING
二打开证书
1. openssl x509 -inform der -in /Users/mac/Desktop/云峰证书/aps_development-3.cer -noout -text
有申请者信息,签名算法,序列号 ,有效期
三,打开描述文件 security cms -D -I embedded.mobileprovision
APPID ,device ID,date,identifier
四,搜索本机的证书,
security find-identity -v -p codesigning
1) 279742D6BBA53CC10364B8893CC9EB583B55CFD4 "iPhone Developer: 照界 宋
2) CCE0AEF2888896CE26AB4EF8EC5ED1F6C3D4D697 "iPhone Developer:
3) 83C052EAFEC138330BAC4D80FAC8FF9A9904F039 "iPhone Developer:
4) 070522CBB559D3D5B3632ED4EB8B83C9A5666F28 "iPhone Developer:
5) 3273075898408C35127F4E125CE2E7F41CA51FC8 "iPhone Developer:
6) 5DC15950C41A3317335F3E9D6220D842AA659E96 "iPhone Distribution:
7) 83C052EAFEC138330BAC4D80FAC8FF9A9904F039 "iPhone Developer: