{"id":703,"date":"2023-12-07T10:27:39","date_gmt":"2023-12-07T09:27:39","guid":{"rendered":"https:\/\/van-daag.nl\/?p=703"},"modified":"2024-12-11T11:22:40","modified_gmt":"2024-12-11T10:22:40","slug":"create-pem-certificate","status":"publish","type":"post","link":"https:\/\/van-daag.nl\/?p=703","title":{"rendered":"Create Pem certificate"},"content":{"rendered":"\n<p>Pem certificate is used for cisco and TOPdesk (Possible more).<\/p>\n\n\n\n<p>To create this certificate use \/ install openssl.exe<\/p>\n\n\n\n<p>Run openSSL.exe as admin (C:\\Program Files (x86)\\OpenSSL-Win32\\bin)<\/p>\n\n\n\n<p>Run the following in the OpenSSL window<\/p>\n\n\n\n<p>pkcs12 -nodes -in C:\\&lt;LOCATION TO PFX&gt;NAME.pfx -nocerts -out C:\\&lt;LOCATION&gt;\\<strong>NAME.key<\/strong><br>Update: <strong>openssl.exe pkcs12 -nodes -in &#8220;C:\\&lt;LOCATION TO PFX&gt;NAME.pfx&#8221; -nocerts -out &#8220;C:\\&lt;LOCATION&gt;\\NAME.key&#8221; -legacy -provider-path &#8220;C:\\Program Files\\OpenSSL-Win64&#8221;<\/strong><\/p>\n\n\n\n<p>Enter the password for the &#8230; PFX file.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Open the xxx.ca-bundle and the xxx.crt file and copy all in to a new file <strong>Bundle.pem<\/strong><\/p>\n\n\n\n<p>In OpenSSL window:<br>pkcs12 -export -in C:\\&lt;LOCATION&gt;\\<strong>Bundle.pem<\/strong> -inkey C:\\&lt;LOCATION&gt;\\<strong>NAME.key<\/strong> -out C:\\&lt;LOCATION&gt;\\<strong>NAME.p12<\/strong> -passin pass:<strong>&lt;PASSWORD&gt;<\/strong> -passout pass:<strong>&lt;PASSWORD&gt;<\/strong><\/p>\n\n\n\n<p>And in the OpenSSL Window:<br>pkcs12 -in C:\\&lt;LOCATION&gt;\\<strong>NAME.p12<\/strong> -out C:\\&lt;LOCATION&gt;\\<strong>mycert.name.pem<\/strong> -passin pass:<strong>&lt;PASSWORD&gt;<\/strong> -passout pass:<strong>&lt;PASSWORD&gt;<\/strong><\/p>\n\n\n\n<p>Now the files are created<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>11-12-2024 Update: For Topdesk <\/p>\n\n\n\n<p>pkcs12 -in &#8220;C:\\&lt;LOCATION>\\NAME.pfx&#8221; -nocerts -out &#8220;C:\\&lt;LOCATION>\\key.pem&#8221; -legacy -provider-path &#8220;C:\\Program Files\\OpenSSL-Win64\\bin&#8221;<\/p>\n\n\n\n<p>openssl.exe pkcs12 -in &#8220;C:\\&lt;LOCATION>\\NAME.pfx&#8221; -nokeys -nodes -out &#8220;C:\\&lt;LOCATION>\\cert.pem&#8221; -legacy -provider-path &#8220;C:\\Program Files\\OpenSSL-Win64\\bin&#8221;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pem certificate is used for cisco and TOPdesk (Possible more). To create this certificate use \/ install openssl.exe Run openSSL.exe as admin (C:\\Program Files (x86)\\OpenSSL-Win32\\bin) Run the following in the OpenSSL window pkcs12 -nodes -in C:\\&lt;LOCATION TO PFX&gt;NAME.pfx -nocerts -out C:\\&lt;LOCATION&gt;\\NAME.keyUpdate: openssl.exe pkcs12 -nodes -in &#8220;C:\\&lt;LOCATION TO PFX&gt;NAME.pfx&#8221; -nocerts -out &#8220;C:\\&lt;LOCATION&gt;\\NAME.key&#8221; -legacy -provider-path &#8220;C:\\Program Files\\OpenSSL-Win64&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53,49],"tags":[],"class_list":["post-703","post","type-post","status-publish","format-standard","hentry","category-blogs","category-topdesk"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts\/703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=703"}],"version-history":[{"count":5,"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts\/703\/revisions"}],"predecessor-version":[{"id":752,"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts\/703\/revisions\/752"}],"wp:attachment":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}