当前位置: 首页 > news >正文

ios 推送证书 p12生成

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

Step 1:

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

Where aps_developer_identity.cer is the file you download from the portal

Step 2:

openssl pkcs12 -nocerts -out APSCertificates.pem -in APSCertificates.p12

Where APSCertificates.p12 is a file you export from the Mac Keychain. This is critical, you must import the certificate from the portal into keychain. Find it in My Certificates, open the disclosure triangle and highlight both the certificate and the private key, then right click and export them. Give them a password and save them to a p12 file.

Step 3:

openssl pkcs12 -export -in aps_developer_identity.pem -out aps_developer_identity.p12 -inkey APSCertificates.pem

第三步之前用http://www.cnblogs.com/qq78292959/archive/2012/07/16/2593651.html博文中的方法:

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

老是出现unable to load certificates的错误,就此记录一下,其他的过程请参照上面链接中的博文就可以了

转载于:https://my.oschina.net/iq19900204/blog/209637

相关文章:

  • Beaker:一个基于Electron的点对点Web浏览器
  • Linux查看文件内容
  • 追溯ASP.NET发展史
  • 前端MVVM框架设计及实现(一)
  • python的不定时更新
  • LumiSoft收取邮件(含邮件附件)
  • Frost Sullivan权威报告:阿里云再次领跑云WAF大中华区市场
  • Yii框架官方指南系列28——缓存:概览
  • 资深实践篇 | 基于Kubernetes 1.61的Kubernetes Scheduler 调度详解 ...
  • 一个表单对应多个提交按钮,每个提交按钮对应不同的行为
  • MySQL用户中的%到底包不包括localhost?
  • tomcat集群时统计session与在线人数
  • 初探G6, 切换数据时保证图位置不变
  • 常见div+css网页布局(float,absolute)
  • 用PyTorch创建一个图像分类器?So easy!(Part 1)
  • 【React系列】如何构建React应用程序
  •  D - 粉碎叛乱F - 其他起义
  • docker-consul
  • Electron入门介绍
  • Java比较器对数组,集合排序
  • JS字符串转数字方法总结
  • Linux后台研发超实用命令总结
  • mysql中InnoDB引擎中页的概念
  • PHP变量
  • RedisSerializer之JdkSerializationRedisSerializer分析
  • Spring Cloud(3) - 服务治理: Spring Cloud Eureka
  • Spring核心 Bean的高级装配
  • 开年巨制!千人千面回放技术让你“看到”Flutter用户侧问题
  • 码农张的Bug人生 - 见面之礼
  • 前端路由实现-history
  • 浅谈Golang中select的用法
  • 手写一个CommonJS打包工具(一)
  • 听说你叫Java(二)–Servlet请求
  • 国内开源镜像站点
  • 你学不懂C语言,是因为不懂编写C程序的7个步骤 ...
  • 曾刷新两项世界纪录,腾讯优图人脸检测算法 DSFD 正式开源 ...
  • ​力扣解法汇总1802. 有界数组中指定下标处的最大值
  • #、%和$符号在OGNL表达式中经常出现
  • (Forward) Music Player: From UI Proposal to Code
  • (附源码)php新闻发布平台 毕业设计 141646
  • (附源码)计算机毕业设计SSM基于健身房管理系统
  • (附源码)计算机毕业设计大学生兼职系统
  • (每日持续更新)jdk api之FileFilter基础、应用、实战
  • (求助)用傲游上csdn博客时标签栏和网址栏一直显示袁萌 的头像
  • .NET 5种线程安全集合
  • .NET Conf 2023 回顾 – 庆祝社区、创新和 .NET 8 的发布
  • .net core 6 redis操作类
  • .NET Framework Client Profile - a Subset of the .NET Framework Redistribution
  • .NET/C# 利用 Walterlv.WeakEvents 高性能地中转一个自定义的弱事件(可让任意 CLR 事件成为弱事件)
  • .Net下使用 Geb.Video.FFMPEG 操作视频文件
  • /deep/和 >>>以及 ::v-deep 三者的区别
  • /使用匿名内部类来复写Handler当中的handlerMessage()方法
  • @WebServiceClient注解,wsdlLocation 可配置
  • [ 云计算 | AWS ] AI 编程助手新势力 Amazon CodeWhisperer:优势功能及实用技巧
  • [100天算法】-x 的平方根(day 61)