{"id":1103,"date":"2016-06-10T14:05:16","date_gmt":"2016-06-10T14:05:16","guid":{"rendered":"http:\/\/www.plugged.in\/?p=1103"},"modified":"2018-11-07T23:31:02","modified_gmt":"2018-11-07T20:31:02","slug":"convert-p7b-certificate-pfx","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/convert-p7b-certificate-pfx\/","title":{"rendered":"Convert your P7B Certificate to PFX"},"content":{"rendered":"<p>When i try to convert my certificates to pfx format, i encountered a problem shown below<\/p>\n<p># openssl pkcs7 -print_certs -in PKCS7.p7b -out certificate.cer<\/p>\n<p>unable to load PKCS7 object<br \/>\n140083803338568:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: PKCS7<\/p>\n<p>To solve this issue:<\/p>\n<p>1) Copy your PKCS7.p7b file as PKCS7.crt<\/p>\n<p>2) Open this file with your editor and add these lines.<\/p>\n<p>&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<\/p>\n<p>&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<\/p>\n<p>3) openssl pkcs7 -print_certs -in PKCS7.crt -out certificate.cer<\/p>\n<p>4) openssl pkcs12 -export -in certificate.cer -inkey private.key -out PKCS7.pfx -certfile bundle.cer<br \/>\nEnter Export Password:<br \/>\nVerifying &#8211; Enter Export Password:<\/p>\n<p>Voila! Your PFX file is ready.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When i try to convert my certificates to pfx format, i encountered a problem shown below # openssl pkcs7 -print_certs -in PKCS7.p7b -out certificate.cer unable to load PKCS7 object 140083803338568:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: PKCS7 To solve this issue: 1) Copy your PKCS7.p7b file as PKCS7.crt 2) Open this file with your editor and add these [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[370],"tags":[],"yst_prominent_words":[615,604,617,600,597,606,601,605,603,598,596,611,619,607,602,599,613,609],"class_list":["post-1103","post","type-post","status-publish","format-standard","hentry","category-linux"],"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":"Fehmi Can Tokay","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/fehmi-can-tokay\/"},"uagb_comment_info":0,"uagb_excerpt":"When i try to convert my certificates to pfx format, i encountered a problem shown below # openssl pkcs7 -print_certs -in PKCS7.p7b -out certificate.cer unable to load PKCS7 object 140083803338568:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: PKCS7 To solve this issue: 1) Copy your PKCS7.p7b file as PKCS7.crt 2) Open this file with your editor and add these&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/1103","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=1103"}],"version-history":[{"count":1,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/1103\/revisions"}],"predecessor-version":[{"id":4161,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/1103\/revisions\/4161"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=1103"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}