{"id":736,"date":"2020-06-10T11:35:17","date_gmt":"2020-06-10T18:35:17","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=736"},"modified":"2020-06-10T11:35:17","modified_gmt":"2020-06-10T18:35:17","slug":"configure-the-apache-server-with-ssl-certificates","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=736","title":{"rendered":"Configure the Apache Server with SSL certificates"},"content":{"rendered":"\n<p>Configure the Apache Server with SSL certificates<\/p>\n\n\n\n<p>1.&nbsp;In order to use the key pair, the httpd.conf file will need to be updated.<br><br>2.&nbsp;In the Virtual Host section of the httpd.conf file, verify that you have the following 3 directives within this Virtual Host. Please add them if they are not present:<\/p>\n\n\n\n<p>SSLCertificateFile \/usr\/local\/ssl\/crt\/public.crt<br><br>SSLCertificateKeyFile \/usr\/local\/ssl\/private\/private.key<br><br>SSLCertificateChainFile \/usr\/local\/ssl\/crt\/intermediate.crt<\/p>\n\n\n\n<p>Note: Some versions of Apache will not accept the\u00a0<strong>SSLCertificateChainFile\u00a0<\/strong>directive. Try using\u00a0<strong>SSLCACertificateFile\u00a0<\/strong>instead.<\/p>\n\n\n\n<p>Below, please see a sample.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"621\" height=\"404\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/4.png\" alt=\"https:\/\/knowledge.digicert.com\/content\/dam\/digicertknowledgebase\/library\/VERISIGN\/ALL_OTHER\/jmagat\/ApacheInstall.PNG\" class=\"wp-image-737\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/4.png 621w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/4-300x195.png 300w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/4-352x230.png 352w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure>\n\n\n\n<p>The first directive tells Apache how to find the Certificate File, the second one where the private key is located, and the third line the location of the intermediate certificate.<br><br>If you are using a different location and certificate file names than the example above (which most likely you are) you will need to change the path and filename to reflect your server.<br><br>Note: Some instances of Apache contain both a httpd.conf and ssl.conf file. Please enter or amend the httpd.conf or the ssl.conf with the above directives. Do not enter both as there will be a conflict and Apache may not start.<\/p>\n\n\n\n<p>Save your httpd.conf file and restart Apache.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configure the Apache Server with SSL certificates 1.&nbsp;In order to use the key pair, the httpd.conf file will need to be updated. 2.&nbsp;In the Virtual Host section of the httpd.conf file, verify that you have the following 3 directives within this Virtual Host. Please add them if they are not present: SSLCertificateFile \/usr\/local\/ssl\/crt\/public.crt SSLCertificateKeyFile \/usr\/local\/ssl\/private\/private.key <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=736\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[104,5],"tags":[],"class_list":["post-736","post","type-post","status-publish","format-standard","hentry","category-apache","category-linux"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=736"}],"version-history":[{"count":0,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}