Difference between revisions of "Replace .p12 certificate"
Jump to navigation
Jump to search
(Created page with " 1) openssl genrsa == Related == * .p12 == See also == * {{CSR}}") |
|||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | 1) [[openssl genrsa]] | + | * 1) <code>[[openssl genrsa]] -aes256 -out ./my_new_key[[.pem]] 2048</code> |
+ | * 2) <code>[[openssl req]] -new -key my_new_key[[.pem]] -out my_new_csr[[.csr]]</code> | ||
+ | * 3) [[Convert .cer to .pem]]: <code>[[openssl x509 -inform]] der -in my_new_cert[[.cer]] -out my_new_cert[[.pem]]</code> | ||
+ | * 4) Generate .p12: <code>openssl pkcs12 -export -out keyStore.p12 -inkey my_new_key.pem -in my_new_cert.pem</code> | ||
+ | Note: to replace <code>[[.p12]]</code> certificates in [[OneSignal]] select always: Apple Push Notification service SSL (Sandbox & Production) | ||
== Related == | == Related == | ||
− | * [[.p12]] | + | * <code>[[.p12]]</code> |
+ | * <code>[[.cer]]</code> | ||
+ | * [[OneSignal]] | ||
+ | * [[APNs]]: Apple Push Notification service SSL (Sandbox) | ||
+ | * [[APNs]]: Apple Push Notification service SSL (Sandbox & Production) | ||
== See also == | == See also == | ||
* {{CSR}} | * {{CSR}} | ||
+ | |||
+ | [[Category:CSR]] |
Latest revision as of 01:42, 22 February 2022
- 1)
openssl genrsa -aes256 -out ./my_new_key.pem 2048
- 2)
openssl req -new -key my_new_key.pem -out my_new_csr.csr
- 3) Convert .cer to .pem:
openssl x509 -inform der -in my_new_cert.cer -out my_new_cert.pem
- 4) Generate .p12:
openssl pkcs12 -export -out keyStore.p12 -inkey my_new_key.pem -in my_new_cert.pem
Note: to replace .p12
certificates in OneSignal select always: Apple Push Notification service SSL (Sandbox & Production)
Related[edit]
.p12
.cer
- OneSignal
- APNs: Apple Push Notification service SSL (Sandbox)
- APNs: Apple Push Notification service SSL (Sandbox & Production)
See also[edit]
Advertising: