{"id":110,"date":"2018-06-06T00:56:17","date_gmt":"2018-06-06T00:56:17","guid":{"rendered":"https:\/\/hegars83.wordpress.com\/?p=110"},"modified":"2018-06-14T16:52:12","modified_gmt":"2018-06-14T16:52:12","slug":"openssl","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=110","title":{"rendered":"OpenSSL"},"content":{"rendered":"<h3>OpenSSL Convert PEM<\/h3>\n<p><strong>Convert PEM to DER<\/strong><\/p>\n<p><code>openssl x509 -outform der -in certificate.pem -out certificate.der<\/code><\/p>\n<p><strong>Convert PEM to P7B<\/strong><\/p>\n<p><code>openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer<\/code><\/p>\n<p><strong>Convert PEM to PFX<\/strong><\/p>\n<p><code>openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt<\/code><\/p>\n<h3>OpenSSL Convert DER<\/h3>\n<p><strong>Convert DER to PEM<br \/>\n<\/strong><\/p>\n<p><code>openssl x509 -inform der -in certificate.cer -out certificate.pem<\/code><\/p>\n<h3>OpenSSL Convert P7B<\/h3>\n<p><strong>Convert P7B to PEM<\/strong><\/p>\n<p><code>openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer<\/code><\/p>\n<p><strong>Convert P7B to PFX<\/strong><\/p>\n<p><code>openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer<\/code><\/p>\n<p><code>openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer<\/code><\/p>\n<h3>OpenSSL Convert PFX<\/h3>\n<p><strong>Convert PFX to PEM<\/strong><\/p>\n<p><code>openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenSSL Convert PEM Convert PEM to DER openssl x509 -outform der -in certificate.pem -out certificate.der Convert PEM to P7B openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer Convert PEM to PFX openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt OpenSSL Convert DER Convert DER to PEM openssl x509 -inform der -in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/110"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=110"}],"version-history":[{"count":1,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/110\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/110\/revisions\/166"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}