zoukankan      html  css  js  c++  java
  • 制做服务器用的推送证书

    1 iOS制做服务器的推送证书

       a 请求证书

       b 导出密钥

       c 制做推送ssl certificate

       d 制做服务器用的证书

    1Push.certSigningRequest

    2Push.p12

    3aps_developer_identity.cer

    终端

    1、将aps_developer_identity.cer转换成aps_developer_identity.pem格式

    openssl x509 -in aps_developer_identity.cer -inform DER -out aps_developer_identity.pem

    2、将p12格式的私钥转换成pem

    openssl pkcs12 -nocerts -out Push_Noenc.pem -in Push.p12  

    3、创建p12文件

    openssl pkcs12 -export -in aps_developer_identity.pem -inkey Push_Noenc.pem -certfile Push.certSigningRequest -name "aps_developer_identity" -out aps_developer_identity.p12  

    测试的服务器地址:telnet   gateway.sandbox.push.apple.com 2195 

    产品推送服务器地址:telnet   gateway.push.apple.com 2195

  • 相关阅读:
    常见错误--06.18
    类目-延展-协议
    iOS页面传值-wang
    ios常见的页面传值方式
    delegate和protocol
    沙盒路径及文件 操作
    tableView优化性能
    IOS面试题
    浅谈Runloop
    面试题
  • 原文地址:https://www.cnblogs.com/gcat/p/3747652.html
Copyright © 2011-2022 走看看