ios app证书制作工具(window)

浏览:710 发布日期:2017/07/21 分类:技术分享 关键字: ios签名
1 准备OpenSSL
2 生成CSR请求文件
3 获取CER证书
4 导出p12文件


下载Win32 OpenSSL v1.0.1c Light版本http://slproweb.com/products/Win32OpenSSL.html


安装OpenSSL完毕后,默认在C盘的OpenSSL-Win32。


进入Windows的命令行(WIN+R,进入运行)。开始输入各个命令.cd C:\OpenSSL-Win32\bin\
set RANDFILE=.rnd
set OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg
openssl genrsa -out my.key 2048
openssl req -new -key my.key -out my.certSigningRequest -subj "/emailAddress=myemail@sample.com,CN=Common Name,C=CN"
记得更改邮箱地址


首先你的有苹果开放者者帐号
https://developer.apple.com/account/ios/certificate/distribution(登录开放平台)
将生成的my.certSigningRequest文件上传到Apple的开发者相关页面(例如开发者证书、推送证书等)


将开放平台生成的my.cer文件 放到本地my.certSigningRequest同目录下openssl x509 -in my.cer -inform DER -out my.pem -outform PEM
openssl pkcs12 -export -inkey my.key -in my.pem -out my.p12 -password pass:123456
这样就生成了密码为123456,文件名为my.p12的密钥文件。您可以将这个文件导入MAC电脑,也可以上传到追信魔盒的IOS代签名区。


原文分享地址:http://www.ithao123.cn/content-9821665.html


最佳答案
评论( 相关
后面还有条评论,点击查看>>