{"id":605,"date":"2017-03-14T14:30:36","date_gmt":"2017-03-14T14:30:36","guid":{"rendered":"https:\/\/www.thesslstore.com\/knowledgebase\/?post_type=ht_kb&#038;p=605"},"modified":"2019-08-29T11:12:35","modified_gmt":"2019-08-29T11:12:35","slug":"apache-openssl-installation","status":"publish","type":"ht_kb","link":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/","title":{"rendered":"How to Install an SSL\/TLS Certificate In Apache Open SSL"},"content":{"rendered":"<p>The following instructions will guide you through the SSL installation process on Apache OpenSSL. If you have more than one server or device, you will need to install the certificate on each server or device you need to secure. If you still have not generated your certificate and completed the validation process, reference our <a href=\"\/knowledgebase\/ssl-generate\/\">CSR Generation Instructions<\/a>\u00a0before following the steps below.<\/p>\n<h2>What You&#8217;ll Need<\/h2>\n<h3>1. Your server certificate<\/h3>\n<p>This is the certificate you received from the CA for your domain. You may have been sent this via email. If not, you can download it by visiting your Account Dashboard and clicking on your order.<\/p>\n<h3>2. Your intermediate certificates<\/h3>\n<p>These files allow the devices connecting to your server to identify the issuing CA. There may be more than one of these certificates. If you got your certificate in a ZIP folder, it should also contain the Intermediate certificate(s), which is sometimes referred to as a CA Bundle. If not, <a href=\"\/knowledgebase\/ssl-support\/ca-bundle\/\">download the appropriate CA Bundle for your certificate.<\/a><\/p>\n<h3>3. Your private key<\/h3>\n<p>This file should be on your server, or in your possession if you generated your CSR from a free generator tool. On certain platforms, such as Microsoft IIS, the private key is not immediately visible to you but the server is keeping track of it.<\/p>\n<p><strong><em>Note<\/em><\/strong><em>: The above files should be saved to the server directory where all certificate\/key files are stored. <\/em><\/p>\n<h2>Installation Instructions<\/h2>\n<h3>1. Locate the apache config file to edit<\/h3>\n<p>The main config file is typically called httpd.conf or apache2.conf and located via \/etc\/httpd or \/etc\/apache2\/.<\/p>\n<p><strong><em>Note<\/em><\/strong><em>: The SSL config file can be in a &lt;VirtualHost&gt; block in another config file. You can always search for the SSL conf file on Linux distributions using this grep command: grep -i -r &#8220;SSLCertificateFile&#8221; \/etc\/httpd\/<\/em><\/p>\n<h3>2. Configure the file and enter commands<\/h3>\n<p>Configure the httpd.conf file and enter the following commands on your VirtualHost to successfully enable SSL:<\/p>\n<pre>&lt;VirtualHost 192.168.0.1:443&gt;\n    DocumentRoot \/var\/www\/html2\n    ServerName www.yourdomain.com\n        SSLEngine on\n        SSLCertificateFile \/path\/to\/your_domain_name.crt\n        SSLCertificateKeyFile \/path\/to\/your_private.key\n        SSLCertificateChainFile \/path\/to\/cabundle.crt\n    &lt;\/VirtualHost&gt;<\/pre>\n<p><strong><em>Note<\/em><\/strong><em>: If you need the site to load via https and http, create another virtual host for http. You can simply copy the existing config file before making any during this step. <\/em><\/p>\n<h3>3. Run a command test<\/h3>\n<p>Test your new config file by running the following command:apachectl configtest<\/p>\n<h3>4. Restart Apache<\/h3>\n<p>If successfully tested, restart Apache by running the following commands:apachectl stop<br \/>\napachectl start<\/p>\n<p><strong><em>Note:<\/em><\/strong><em> You may be asked to enter the password you generated with your RSA key. If you do not want to be asked for a password, you will need to re-generate your RSA key file.<\/em><\/p>\n<p>Congratulations! You&#8217;ve successfully installed your SSL certificate! To check your work, visit the website in your browser at <em><u>https:\/\/yourdomain.tld<\/u><\/em> and view the certificate\/site information to see if HTTPS\/SSL is working properly. Remember, you may need to restart your server for changes to take effect.<\/p>\n<p>To check your server&#8217;s configurations more thoroughly, use our <a href=\"\/ssltools\/ssl-checker.php\">SSL Checker Tool<\/a> or contact our Customer Experience Department for additional assistance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following instructions will guide you through the SSL installation process on Apache OpenSSL. If you have more than one server or device, you will need to install the certificate on each server or device you need to secure. If you still have not generated your certificate and completed the&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[24],"ht-kb-tag":[],"class_list":["post-605","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-ssl-install"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122<\/title>\n<meta name=\"description\" content=\"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122\" \/>\n<meta property=\"og:description\" content=\"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/thesslstoredotcom\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-29T11:12:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122\" \/>\n<meta name=\"twitter:description\" content=\"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg\" \/>\n<meta name=\"twitter:site\" content=\"@thesslstore\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122","description":"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/","og_locale":"en_US","og_type":"article","og_title":"How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122","og_description":"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.","og_url":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/","og_site_name":"Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/thesslstoredotcom","article_modified_time":"2019-08-29T11:12:35+00:00","og_image":[{"width":300,"height":300,"url":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122","twitter_description":"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.","twitter_image":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","twitter_site":"@thesslstore","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/","url":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/","name":"How to Install an SSL\/TLS Certificate In Apache Open SSL - The SSL Store\u2122","isPartOf":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#website"},"datePublished":"2017-03-14T14:30:36+00:00","dateModified":"2019-08-29T11:12:35+00:00","description":"Make the SSL\/TLS Certificate Installation process easy by following our guide for installing SSL\/TLS Certificate on Apache Open SSL.","breadcrumb":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/apache-openssl-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thesslstore.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"How to Install an SSL\/TLS Certificate In Apache Open SSL"}]},{"@type":"WebSite","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#website","url":"https:\/\/www.thesslstore.com\/knowledgebase\/","name":"Knowledge Base","description":"TheSSLstore","publisher":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thesslstore.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#organization","name":"The SSL Store\u2122","url":"https:\/\/www.thesslstore.com\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#\/schema\/logo\/image\/","url":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","contentUrl":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","width":300,"height":300,"caption":"The SSL Store\u2122"},"image":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/thesslstoredotcom","https:\/\/x.com\/thesslstore","https:\/\/www.linkedin.com\/company\/the-ssl-store","https:\/\/www.youtube.com\/user\/thesslstore"]}]}},"_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=605"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/605\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=605"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=605"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}