{"id":388,"date":"2012-05-07T13:01:34","date_gmt":"2012-05-07T13:01:34","guid":{"rendered":"http:\/\/www.plugged.in\/?p=388"},"modified":"2012-05-07T13:01:34","modified_gmt":"2012-05-07T13:01:34","slug":"how-to-exporting-private-key-from-pfx-with-openssl","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/how-to-exporting-private-key-from-pfx-with-openssl\/","title":{"rendered":"How to Export the Private Key From a .PFX With OpenSSL"},"content":{"rendered":"<p>If you have  a .pfx file and you need it&#8217;s private.key, then you can use OpenSSL for extracting .pem from .pfx ( the openssl software is available at <a href=\"http:\/\/openssl.org\" target=\"_blank\">openssl.org<\/a> )<\/p>\n<p>To export the private key ( .pem ) from the PFX file and save it to a PEM file :<\/p>\n<blockquote><p>$openssl pkcs12 -in \/path\/to\/file_name.pfx -nocerts -out private_key_name.pem<\/p><\/blockquote>\n<p>If you want to remove the password from the private key file :<\/p>\n<blockquote><p>$openssl rsa -in private_key_name.pem -out new_private.pem<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If you have a .pfx file and you need it&#8217;s private.key, then you can use OpenSSL for extracting .pem from .pfx ( the openssl software is available at openssl.org ) To export the private key ( .pem ) from the PFX file and save it to a PEM file : $openssl pkcs12 -in \/path\/to\/file_name.pfx -nocerts [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[370,372],"tags":[499,500],"yst_prominent_words":[1594,605,1592,828,603,1593,247,1591,1595],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-linux","category-linux_help","tag-export-pfx","tag-openssl-export"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Cevdet Kaymaz","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/cevdet-kaymaz\/"},"uagb_comment_info":0,"uagb_excerpt":"If you have a .pfx file and you need it&#8217;s private.key, then you can use OpenSSL for extracting .pem from .pfx ( the openssl software is available at openssl.org ) To export the private key ( .pem ) from the PFX file and save it to a PEM file : $openssl pkcs12 -in \/path\/to\/file_name.pfx -nocerts&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":0,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=388"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}