{"id":1355,"date":"2024-05-17T13:34:38","date_gmt":"2024-05-17T17:34:38","guid":{"rendered":"https:\/\/tecgesco.com\/blog\/?p=1355"},"modified":"2025-02-19T13:40:37","modified_gmt":"2025-02-19T17:40:37","slug":"converter-certificado-pfx-em-pem","status":"publish","type":"post","link":"https:\/\/tecgesco.com\/blog\/converter-certificado-pfx-em-pem\/","title":{"rendered":"Converter certificado .PFX em .PEM"},"content":{"rendered":"\n<p>Para que a cria\u00e7\u00e3o do aplicativo seja bem sucedida, deve-se inserir somente a chave p\u00fablica do<br>certificado no formato .PEM, .CRT ou .CER, caso o seu certificado esteja no formato .PFX siga o tutorial<br>abaixo.<\/p>\n\n\n\n<p><strong>1) Realize o download e a instala\u00e7\u00e3o do OpenSSL.<br>a. Clique em <a href=\"https:\/\/gnuwin32.sourceforge.net\/packages\/openssl.htm\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/gnuwin32.sourceforge.net\/packages\/openssl.htm<\/a> e realize o download do arquivo<br>zip Binaries, em seguida defina a pasta que armazenar\u00e1 o arquivo bin\u00e1rio.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"449\" src=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-7.png\" alt=\"\" class=\"wp-image-1465\" srcset=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-7.png 875w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-7-300x154.png 300w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-7-768x394.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"282\" src=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1024x282.png\" alt=\"\" class=\"wp-image-1356\" srcset=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1024x282.png 1024w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-300x83.png 300w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-768x212.png 768w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image.png 1052w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>2) Fa\u00e7a a extra\u00e7\u00e3o do pacote zip na pasta de sua prefer\u00eancia.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"273\" src=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1-1024x273.png\" alt=\"\" class=\"wp-image-1357\" srcset=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1-1024x273.png 1024w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1-300x80.png 300w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1-768x205.png 768w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-1.png 1041w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>3) Dentro da pasta bin, crie uma pasta chamada \u201ccert\u201d e adicione o certificado digital dentro dessa<br>pasta.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-2-1024x276.png\" alt=\"\" class=\"wp-image-1358\" srcset=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-2-1024x276.png 1024w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-2-300x81.png 300w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-2-768x207.png 768w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-2.png 1055w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>4) Ainda dentro da pasta bin, digite \u201cCMD\u201d na barra de endere\u00e7os<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"273\" src=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-3-1024x273.png\" alt=\"\" class=\"wp-image-1359\" srcset=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-3-1024x273.png 1024w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-3-300x80.png 300w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-3-768x205.png 768w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-3.png 1054w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>5) Via prompt de comando digite o comando abaixo:<br>openssl pkcs12 -in cert\\nomeCertificado.pfx -nokeys -out cert\\nomeCertificado.pem<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"191\" src=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-4-1024x191.png\" alt=\"\" class=\"wp-image-1360\" style=\"width:840px;height:auto\" srcset=\"https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-4-1024x191.png 1024w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-4-300x56.png 300w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-4-768x143.png 768w, https:\/\/tecgesco.com\/blog\/wp-content\/uploads\/2024\/05\/image-4.png 1063w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Fonte: <a href=\"https:\/\/developers.sicoob.com.br\/portal\/documentacaoslugItem=seguranca&amp;slugSubItem=certificado-digital\">https:\/\/developers.sicoob.com.br\/portal\/documentacaoslugItem=seguranca&amp;slugSubItem=certificado-digital<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Para que a cria\u00e7\u00e3o do aplicativo seja bem sucedida, deve-se inserir somente a chave p\u00fablica docertificado no formato .PEM, .CRT ou .CER, caso o seu certificado esteja no formato .PFX siga o tutorialabaixo. 1) Realize o download e a instala\u00e7\u00e3o do OpenSSL.a. Clique em https:\/\/gnuwin32.sourceforge.net\/packages\/openssl.htm e realize o download do arquivozip Binaries, em seguida defina [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[260,368,346],"class_list":["post-1355","post","type-post","status-publish","format-standard","hentry","category-tecnico","tag-conversao","tag-pem","tag-pfx"],"_links":{"self":[{"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/posts\/1355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/comments?post=1355"}],"version-history":[{"count":3,"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions"}],"predecessor-version":[{"id":1466,"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions\/1466"}],"wp:attachment":[{"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/media?parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/categories?post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tecgesco.com\/blog\/wp-json\/wp\/v2\/tags?post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}