Visit: http://slproweb.com/products/Win32OpenSSL.html. and download Win32 OpenSSL v1.0.2c Light Version (note: version may be upgraded), if you run a problem with OpenSSL, you also need to download the Visual C + + Redistributables installation.
1.Windows System request Apple certificate after installing OpenSSL, enter the Windows command line (Win+r, go to run) to generate the Certsigningrequest file. Start entering individual commands.
OpenSSL installation directory under the Bin folder
CD E:\OpenSSL-Win64\bin\
My.key, my.certsigningrequest file name can be entered casually
[email protected] your e-mail
Set Randfile=.rnd
Set Openssl_conf=e:\openssl-win64\bin\openssl.cfg
OpenSSL genrsa-out My.key 2048
OpenSSL req-new-key my.key-out my.certsigningrequest-subj "/[email protected],cn=common name,c=cn"
You can view the generated files in the bin directory after you have finished running
2. Login to the Apple developer account and click "Cretificates,ids&profiles" to enter the certificate request screen. Upload the generated certsigningrequest file to Apple's developer-related pages (e.g., developer certificates, push certificates, etc.)
Convert the CER file certificate to the P12 file, download the certificate to the OpenSSL installation directory, run the following command and the Apple certificate is complete.
Ios_distribution.cer the CER certificate downloaded
OpenSSL x509-in ios_distribution.cer-inform der-out ios_distribution.cer.pem-outform PEM
IPHONE_DEV.P12 the converted Certificate
OpenSSL pkcs12-export-inkey my.key-in ios_distribution.cer.pem-out Iphone_dev.p12-password Pass: Your official password
Reference Address: https://jingyan.baidu.com/article/ceb9fb10a979b48cad2ba09c.html
Windows installation generates an Apple certificate