Difference between revisions of "Replace .p12 certificate"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
* 2) <code>[[openssl req]] -new -key my_new_key[[.pem]] -out my_new_csr[[.csr]]</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>
 
* 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 myPrivateKey.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>
  
 
== Related ==
 
== Related ==

Revision as of 01:29, 22 February 2022

Related

See also

Advertising: