{"id":422,"date":"2013-11-15T06:31:59","date_gmt":"2013-11-15T06:31:59","guid":{"rendered":"https:\/\/www.rapidsslonline.com\/blog\/?p=422"},"modified":"2022-04-22T01:09:58","modified_gmt":"2022-04-22T06:39:58","slug":"ssl-certificate-installation-on-apache-web-server","status":"publish","type":"post","link":"https:\/\/www.rapidsslonline.com\/blog\/ssl-certificate-installation-on-apache-web-server\/","title":{"rendered":"SSL Certificate Installation on Apache Web Server"},"content":{"rendered":"<h2>SSL Certificate Installation Guideline for Apache Web Server<\/h2>\n<p style=\"text-align: justify;\">Are you looking for a quick and easy guide for installing an SSL certificate on your Apache Web Server?<\/p>\n<p style=\"text-align: justify;\">Your search comes to an end with RapidSSLOnline, which offers world\u2019s easiest and fastest SSL installation <strong>setup for Apache Web Server<\/strong>. \u00a0It helps you <strong>How to configure or install an SSL certificate on Apache Web Server<\/strong> without any security errors. Follow these steps for hassle-free SSL certificate installation session.<\/p>\n<h3 style=\"text-align: justify;\"><b>SSL Installation Guide for Apache Web Server Security<\/b><\/h3>\n<p><strong>Step 1:<\/strong> Download your primary and RapidSSL intermediate SSL certificates, including the private key in a specific folder on the web server.<\/p>\n<p><strong>Step 2:\u00a0<\/strong>Now, open the Apache configuration file from the location \/etc\/httpd using text editor. Normally, the main configuration file in Apache will be named httpd.conf. Now, you can see the &lt;VirtualHost&gt; blocks at the bottom of httpd.conf file. However, in some cases &lt;VirtualHost&gt; will be available at a specific location in the directory such as \/etc\/httpd\/vhosts.d\/ or \/etc\/httpd\/sites\/ or in a file called ssl.conf.<\/p>\n<p><strong>Step 3:\u00a0<\/strong>Virtual Host is required in this case where a user wants to access a website in both the versions, such as https and non-https. In order to do so, you need to copy the existing virtual host and change port 80 to 443.<\/p>\n<p><strong>Step 4:\u00a0<\/strong>Now, add necessary lines in Virtual Host<\/p>\n<pre>        DocumentRoot \/var\/www\/website\r\n        ServerName www.name-of-site.com\r\n        SSLEngine on\r\n        SSLCertificateFile \/etc\/ssl\/crt\/primary.crt\r\n        SSLCertificateKeyFile \/etc\/ssl\/crt\/private.key\r\n        SSLCertificateChainFile \/etc\/ssl\/crt\/intermediate.crt<\/pre>\n<p><strong>Step 5:\u00a0<\/strong>Now change your file\u2019s name according to the following instruction to meet the right authentication with certificate files.<\/p>\n<blockquote><p><b>SSLCertificateFile<\/b> would be the primary certificate file for your<span style=\"color: inherit; font-size: inherit;\">host name<\/span><\/p><\/blockquote>\n<blockquote><p>.<b>SSLCertificateKeyFile<\/b> would be the key file generated when you produce the CSR.<\/p><\/blockquote>\n<blockquote><p><b>SSLCertificateChainFile<\/b> would be the intermediate certificate file and it would be made available by a Certificate Authority.<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n<strong>Step 6:\u00a0<\/strong>With this, you have reached the last step of the installation session. Save the following text changes occurred in the virtual host and close the text editor.<br \/>\n&nbsp;<br \/>\n<strong>Step 7:\u00a0<\/strong>That\u2019s It \u2013 Restart your <strong>apache web server<\/strong> using restart commands:<\/p>\n<pre>\/usr\/local\/apache\/bin\/apachectl startssl<\/pre>\n<pre>\/usr\/local\/apache\/bin\/apachectl restart<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>Additional Resources for Apache Web Server SSL Certificate Installation<\/b><\/h4>\n<ul>\n<li><a title=\"WildCard SSL Installation on Apache +mod_SSL\" href=\"https:\/\/www.rapidsslonline.com\/blog\/wildcard-ssl-csr-guide-for-apache\/\" target=\"_blank\" rel=\"noopener\">WildCard SSL Installation on Apache +mod_SSL<\/a><\/li>\n<li><a title=\"Thawte SSL Installation on Apache Web Server\" href=\"https:\/\/www.rapidsslonline.com\/blog\/securing-apache-web-server-with-thawte-digital-certificate\/\" target=\"_blank\" rel=\"noopener\">Thawte SSL Installation on Apache Server<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=U0EKtGDFHSI&amp;list=PLhrrdzH2ZqSgLzlEXCulNpHeA0Xr0nF-_&amp;index=1\" target=\"_blank\" rel=\"noopener\">Video Guide: Generating a CSR on Apache Server<\/a>.<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=naZpU6g2bEg&amp;list=PLhrrdzH2ZqSgLzlEXCulNpHeA0Xr0nF-_&amp;index=3\" target=\"_blank\" rel=\"noopener\">Video Guide: Installing an SSL certificate on Apache Server<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SSL Certificate Installation Guideline for Apache Web Server Are you looking for a quick and easy guide for installing an SSL certificate on your Apache Web Server? Your search comes &hellip; <span class=\"d-flex justify-content-end\"><a href=\"https:\/\/www.rapidsslonline.com\/blog\/ssl-certificate-installation-on-apache-web-server\/\" class=\"btn btn-blue\">Read More <span class=\"screen-reader-text\">SSL Certificate Installation on Apache Web Server<\/span><\/a><\/span><\/p>\n","protected":false},"author":10,"featured_media":354,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[14],"tags":[],"yst_prominent_words":[353,1113,1103,116,999,355,921,1116,1648,699,679,37,926,350,991,1105,905,2127,1111,52],"class_list":{"0":"post-422","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ssl-certificate"},"_links":{"self":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/posts\/422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/comments?post=422"}],"version-history":[{"count":0,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/posts\/422\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/media\/354"}],"wp:attachment":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/media?parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/categories?post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/tags?post=422"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}