

{"id":969,"date":"2019-09-09T10:16:33","date_gmt":"2019-09-09T00:16:33","guid":{"rendered":"https:\/\/kng.tech\/blog\/?p=969"},"modified":"2019-09-09T10:17:58","modified_gmt":"2019-09-09T00:17:58","slug":"ssl-installation-for-apache-on-windows","status":"publish","type":"post","link":"https:\/\/kng.tech\/blog\/ssl-installation-for-apache-on-windows\/","title":{"rendered":"SSL installation for Apache on Windows"},"content":{"rendered":"<p>1. Export the new cert from MMC<br \/>\n   - Choose export the private key<br \/>\n   - Choose export include all certificates in certificate path if possible.<br \/>\n   - Save the .pfx in location you selected.<\/p>\n<p>2. On Apache server.<br \/>\n   - Copy the new .pfx to this server<br \/>\n   - in CMD, cd C:\\Apache24\\bin\\<br \/>\n   - openssl pkcs12 -in <filename>.pfx -nocerts -out private.key<br \/>\n   - openssl pkcs12 -in <filename>.pfx -nokeys -out certificate.crt<\/p>\n<p>    * if there is PEM Pass Phrase (private.key), remove it by:<br \/>\n    openssl rsa -in private.key -out private2.key<\/p>\n<p>3. Update\/Configure following as requires:<br \/>\n    - extra\\httpd-ssl.conf<br \/>\n    - extra\\httpd-vhosts.conf<\/p>\n<p>    * SSLCertificateFile \"${SRVROOT}\/conf\/certificate.crt\"<br \/>\n    * SSLCertificateKeyFile \"${SRVROOT}\/conf\/private.key\"<\/p>\n<p>4. Restart Apache service, done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Export the new cert from MMC - Choose export the private key - Choose export include all certificates in certificate path if possible. - Save the .pfx in location you selected. 2. On Apache server. - Copy the new .pfx to this server - in CMD, cd C:\\Apache24\\bin\\ - openssl pkcs12 -in .pfx -nocerts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[87,88],"class_list":["post-969","post","type-post","status-publish","format-standard","hentry","category-tech","tag-apache","tag-ssl"],"_links":{"self":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/comments?post=969"}],"version-history":[{"count":2,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/969\/revisions"}],"predecessor-version":[{"id":971,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/969\/revisions\/971"}],"wp:attachment":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/media?parent=969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/categories?post=969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/tags?post=969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}