{"id":345,"date":"2016-01-19T15:01:38","date_gmt":"2016-01-19T15:01:38","guid":{"rendered":"http:\/\/www.pkipartner.support\/?page_id=345"},"modified":"2016-03-29T09:27:48","modified_gmt":"2016-03-29T09:27:48","slug":"install-installing-your-certificate-on-apache-with-mod_ssl","status":"publish","type":"page","link":"https:\/\/pkipartner.com\/support\/install-installing-your-certificate-on-apache-with-mod_ssl\/","title":{"rendered":"Install &#8211; Installing your Certificate on Apache with mod_ssl"},"content":{"rendered":"<h1>Installing your Certificate on Apache with mod_ssl<\/h1>\n<p>Extract all of the contents of the ZIP file that was sent to you and copy\/move them to your server. The extracted contents will typically be named: <strong><em>yourDomainName.crt<\/em><\/strong> and <strong><em>yourDomainName.ca-bundle<\/em><\/strong><\/p>\n<p><strong>Note:<\/strong> If you received several .crt files in your ZIP file please use the \u201cHow do I do my own ca-bundle\u201d article to make <strong><em>yourDomainName.ca-bundle<\/em><\/strong><\/p>\n<ol>\n<li>Move all of the certificate related files to their appropriate directories.\n<p><strong>A typical setup: <\/strong><\/p>\n<ol>\n<li>Move the Private Key that was generated earlier to the <strong>key<\/strong> directory, which is typically found in <strong>\/etc\/ssl\/<\/strong>. This must be a directory which only Apache can access.<\/li>\n<li>Move the <strong><em>crt<\/em><\/strong> and <strong><em>yourDomainName.ca-bundle<\/em><\/strong> to the <strong>ssl.crt<\/strong> directory, which is typically found in the <strong>\/etc\/ssl\/<\/strong> directory.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>Edit the file that contains the SSL configuration with your favorite text editor.<br \/>\n<strong>Examples: <\/strong>nano, vi, pico, emacs, mousepad, notepad, notepad++, etc.<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> The location of this file may vary from each distribution. It will be referenced in the Apache global configuration file. Look for the lines starting with <strong>include<\/strong>.<\/p>\n<p><strong><u>Apache Configuration File:<\/u><\/strong><\/p>\n<ol>\n<li><strong>Fedora\/CentOS\/RHEL:<\/strong> <em>\/etc\/httpd\/conf\/httpd.conf<\/em><\/li>\n<li><strong>Debian and Debian based: <\/strong><em>\/etc\/apache2\/apache2.conf<\/em><\/li>\n<\/ol>\n<p><strong><u>SSL Configuration File:<\/u><\/strong><\/p>\n<p><strong>Some possible names:<\/strong><\/p>\n<ol start=\"3\">\n<li>httpd-ssl.conf<\/li>\n<li>conf<\/li>\n<li>In the <strong>\/etc\/apache2\/sites-enabled\/<\/strong><\/li>\n<\/ol>\n<p><strong>Note:<\/strong> If needed be please consult your distribuiton&#8217;s documentation on Apache and SSL or navigate to the Apache Foundation&#8217;s <a href=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mod_ssl.html\">Apache2<\/a> Documentation.<\/p>\n<ol start=\"3\">\n<li>In the <strong>VirtualHost<\/strong> section of the file please add these directives if they do not exist. It is best to comment out what is already there and add the below entries.<\/li>\n<li><strong>SSLEngine<\/strong> on <strong>SSLCertificateKeyFile<\/strong> \/etc\/ssl\/ssl.key\/server.key<\/li>\n<li><strong>SSLCertificateFile<\/strong> \/etc\/ssl\/ssl.crt\/yourDomainName.crt<\/li>\n<li><strong>SSLCertificateChainFile<\/strong> \/etc\/ssl\/ssl.crt\/yourDomainName.ca-bundle ***<\/li>\n<\/ol>\n<p>*** <strong><u>Apache 1.x<\/u><\/strong><strong>:<\/strong><br \/>\nPlease use <strong>SSLCACertificateFile<\/strong> instead of <strong>SSLCertificateChainFile<\/strong>.<\/p>\n<p><strong>Note: <\/strong>The above paths in the directives are only used as examples. Your server may have a different path and may need to be modified to suit your needs.<\/p>\n<ol start=\"4\">\n<li>Save your <strong>config<\/strong> file and restart the Apache servi<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Installing your Certificate on Apache with mod_ssl Extract all of the contents of the ZIP file that was sent to you and copy\/move them to your server. The extracted contents will typically be named: yourDomainName.crt and yourDomainName.ca-bundle Note: If you received several .crt files in your ZIP file please use\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/pkipartner.com\/support\/install-installing-your-certificate-on-apache-with-mod_ssl\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/345"}],"collection":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":3,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/345\/revisions"}],"predecessor-version":[{"id":760,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/345\/revisions\/760"}],"wp:attachment":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/media?parent=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}