Difference between revisions of "Replace .p12 certificate"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
* 4) Generate .p12: <code>openssl pkcs12 -export -out keyStore.p12 -inkey my_new_key.pem -in 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 [[.p12]] certificates in [[ | + | Note: to replace <code>[[.p12]]</code> certificates in [[OneSignal]] select always: Apple Push Notification service SSL (Sandbox & Production) |
== Related == | == Related == | ||
− | * [[.p12]] | + | * <code>[[.p12]]</code> |
− | * [[.cer]] | + | * <code>[[.cer]]</code> |
* [[OneSignal]] | * [[OneSignal]] | ||
* [[APNs]]: Apple Push Notification service SSL (Sandbox) | * [[APNs]]: Apple Push Notification service SSL (Sandbox) |
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: