windows安裝產生蘋果認證

來源:互聯網
上載者:User

標籤:rsa   ble   cad   set   openssl   推送認證   html   jin   蘋果   

訪問:http://slproweb.com/products/Win32OpenSSL.html 。並下載Win32 OpenSSL v1.0.2c Light版本(注意:版本可能會升級),如果您運行OpenSSL有問題,還需要下載Visual C++ 2008 Redistributables安裝。

1.Windows系統下申請蘋果認證安裝好OpenSSL後,進入Windows的命令列(WIN+R,進入運行)產生certSigningRequest檔案。開始輸入各個命令.

//OpenSSL安裝目錄bin檔案夾下

cd E:\OpenSSL-Win64\bin\

//my.key, my.certSigningRequest檔案名稱可以隨便輸入

// [email protected] 你的郵箱

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"

運行完後可以在bin目錄下查看產生的檔案

2.登入蘋果開發人員帳號,點擊“cretificates,IDs&Profiles”進入認證申請介面。將產生的certSigningRequest檔案上傳到Apple的開發人員相關頁面(例如開發人員認證、推送認證等)

將cer檔案認證轉換為 P12 檔案,下載認證到OpenSSL安裝目錄下,運行下面命令蘋果認證就完成了。

//ios_distribution.cer 下載的cer認證

openssl x509 -in ios_distribution.cer -inform DER -out ios_distribution.cer.pem -outform PEM

//iphone_dev.p12 轉換後的認證

openssl pkcs12 -export -inkey my.key -in ios_distribution.cer.pem -out iphone_dev.p12 -password pass:你們正式密碼

參考地址:https://jingyan.baidu.com/article/ceb9fb10a979b48cad2ba09c.html

windows安裝產生蘋果認證

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.