對於iPhone描述文件的簽名認證


1.購買SSL證書驗證(跟https認證一樣)

2.iphone 簽名.mobileconfig文件

  1. company.mobileconfig 未簽名的mobileconfig文件
  2. server.crt 你的服務器SSL證書
  3. server.key 您的私鑰
  4. ca-bundle.crt 你的根證書鏈
  5. signed.mobileconfig 簽名過的mobileconfig名字

3.終端簽名命令

openssl smime -sign -in company.mobileconfig -out signed.mobileconfig -signer server.crt -inkey server.key -certfile ca-bundle.crt -outform der -nodetach

  

openssl證書簽發生成

 

生成私鑰
openssl genrsa -out server.key 2048
通過私鑰 生成csr文件
openssl req -new -key server.key -out server.csr
通過csr文件 和私鑰生成 crt公鑰  有效期10年
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM