iOS开发者证书P12无密码在高版本的MacOS上无法导入到KeyChain中,可以按如下的方式使用openssl修改密码:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
H:\secret_key_tools_RSA256_win\RSA2\openssl\bin>openssl pkcs12 -in ios_dev.p12 -out temp.pem Enter Import Password: MAC verified OK Enter PEM pass phrase: Verifying - Enter PEM pass phrase: H:\secret_key_tools_RSA256_win\RSA2\openssl\bin>openssl pkcs12 -export -in temp.pem -out dev-final.p12 Loading 'screen' into random state - done Enter pass phrase for temp.pem: Enter Export Password: Verifying - Enter Export Password: H:\secret_key_tools_RSA256_win\RSA2\openssl\bin>openssl pkcs12 -in ios_destribution.p12 -out temp.pem Error opening input file ios_destribution.p12 ios_destribution.p12: No such file or directory H:\secret_key_tools_RSA256_win\RSA2\openssl\bin>openssl pkcs12 -in ios_distribution.p12 -out temp.pem Enter Import Password: MAC verified OK Enter PEM pass phrase: Verifying - Enter PEM pass phrase: H:\secret_key_tools_RSA256_win\RSA2\openssl\bin>openssl pkcs12 -export -in temp.pem -out dis-final.p12 Loading 'screen' into random state - done Enter pass phrase for temp.pem: Enter Export Password: Verifying - Enter Export Password: |
转载时请保留出处,违法转载追究到底:进城务工人员小梅 » 使用openssl修改p12密码