{"id":7998,"date":"2022-10-26T07:22:27","date_gmt":"2022-10-26T07:22:27","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=ht_kb&#038;p=7998"},"modified":"2024-06-07T13:02:44","modified_gmt":"2024-06-07T13:02:44","password":"","slug":"install-3rd-party-certificate-authorities-premium-ssl-on-vps","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/","title":{"rendered":"Install 3rd party certificate authorities (Premium )SSL on VPS"},"content":{"rendered":"\n<p>This will be a writeup on steps to take to install SSL from 3rd party authories such as Comodo SSL, DigiCert (Image credit: DigiCert), Entrust Datacard, GeoTrust,RapidSSL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>ssh access<\/li><li>ssl from 3rd party<\/li><li>OpenSSL installed on the vps<\/li><li>A way to view the key, text editor of choice<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Certificate configuration<\/h2>\n\n\n\n<p>1: SSH into the VPS, replace the IP with your VPS IP and check you have openssl instlled(Comes preinstalled in centos)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh root@192.168.0.0\nopenssl version <\/code><\/pre>\n\n\n\n<p>2: Generate private key and CSR, you will store them to a location that you can remember.Don&#8217;t forget to replace your_domain with your actual domain name.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl req -new -newkey rsa:2048 -nodes -keyout your_domain.key -out your_domain.csr<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Breakdown<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>openssl which activates the OpenSSL software<\/li><li>req is used to indicate that we want a CSR<\/li><li>-new \u2013newkey that generates a new key<\/li><li>rsa:2048 generates a 2048-bit RSA mathematical key<\/li><li>\u2013nodes \u2013 no DES, meaning do not encrypt the private key in a PKCS#12 file<\/li><li>\u2013keyout which is used indicate the domain you\u2019re generating a key for<\/li><li>\u2013out for specifiying the name of the file your CSR will be saved as<\/li><\/ul>\n\n\n\n<p>3: Enter details as prompted, below is an example of the fields<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Country Name (2 letter code) &#91;XX]:US(KE)\nState or Province Name (full name) &#91;]:Example(Nairobi)\nLocality Name (eg, city) &#91;Default City]:Example (Nairobi)\nOrganization Name (eg, company) &#91;Default Company Ltd]:Example Inc(Truehost)\nOrganizational Unit Name (eg, section) &#91;]:Example Dept(ICT)\nCommon Name (eg, your name or your server's hostname) &#91;]:your_domain_or_ip(example.com)\nEmail Address &#91;]:webmaster@example.com(admin@example.com)<\/code><\/pre>\n\n\n\n<p>There are optional fields , you can press enter to leave them blank<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>A challange password &#91;]:\nAn optional company name &#91;]:<\/code><\/pre>\n\n\n\n<p>4: Request for SSL<br>We will submit the csr as part of the ssl request. You can locate the csr and copy its content for use<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls *.csr\nsudo vim your_domain.csr<\/code><\/pre>\n\n\n\n<p>We will copy the content of the file and use it in the form to request for the ssl from CA, depending on where you have purchsed the SSL. If you have purchase ssl from Truehost please follow the steps below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Optional steps for configuring SSL from Truehost Client area<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Login to your client area\/account.<\/li><li>Click \u201cServices\u201d on the top menu and choose \u201cMy Services\u201d on the drop-down menu.<\/li><li>Click on the SSL product that you wish to install on your domain.<\/li><li>Click \u201cConfigure now\u201d<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Configure_Now.png\" alt=\"Configure_Now\" title=\"Configure_Now\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>On the next page, fill in the request details as indicated below.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Server_Information.png\" alt=\"Server_Information\" title=\"Server_Information\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>Fill in contact details, and click to continue.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/adminstrative_infor-1.png\" alt=\"Admin_contact_information\" title=\"Admin_contact_information\"\/><\/figure>\n\n\n\n<p>P.S: If you find that the information is auto-filled by default, ensure you fill in the job type section e.g admin or administrator.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>We will be using HTTP as our validation option.Change the DVC method th HTTP then click continue. In the next page click go back to client area we will need to get the content of the txt file to upload. You will create the appropriate directories as folllows in the document root.Document root is the folder where your website files reside. For this documentation, we shall assume our document root is \/var\/www\/html<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p \/var\/www\/html\/.well-known\/pki-validation<\/code><\/pre>\n\n\n\n<p>This will create the folders called .well-known and pki-validation. Inside the pki-validation we will create the file name give on the certificate, eg 743CF24C78852EB59234FEA12A9F.txt<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/.well-known\/pki-validation\nsudo vim 743CF24C78852EB59234FEA12A9F.txt<\/code><\/pre>\n\n\n\n<p>inside it we add the content given, for instance<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>26927639FB8AA0533BE97E79890ACB240A397638B32E671D44ED0BF77A\nsectigo.com\nt0770366001665499704<\/code><\/pre>\n\n\n\n<p>Note the .txt name and the content will differ from the above.<\/p>\n\n\n\n<p>In the end we should be able to see the constent of the file when we vist the url http:\/\/your_domain.com\/.well-known\/pki-validation\/743CF24C78852EB59234FEA12A9F.txt on browser. If all is good,click on the revalidate to send SSL request to the CA.<\/p>\n\n\n\n<p>We can now install the SSl once the CA certifies your request<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Certificate Installation<\/h2>\n\n\n\n<p>With the SSL verified, we now have the needed content to install the ssl. We will create files to copy our Certificate(CRT) and Intermediate\/Chain files.<br>Navigate to the directory where you are saving your Certificates, will use \/etc\/ssl\/certs<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vim \/etc\/ssl\/certs\/certificate.crt<\/code><\/pre>\n\n\n\n<p>We will copy the content of our certificate(CRT) to the file and save.<\/p>\n\n\n\n<p>Now we create a file to save content of our Installation\/Chain files.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vim \/etc\/ssl\/certs\/intermediate.crt<\/code><\/pre>\n\n\n\n<p>You can prefix the .crt names with your domain name for easy identification.<\/p>\n\n\n\n<p>With the contents save we can proced and enable ssl on our virtual host config<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\n   ServerName yourdomain.com\n   ServerAlias www.yourdomain.com\n   Redirect \/ https:\/\/yourdomain.com\n&lt;\/VirtualHost&gt;\n\n&lt;VirtualHost _default_:443&gt;\n   ServerName yourdomain.com\n   ServerAlias www.yourdomain.com\n   DocumentRoot \/usr\/local\/apache2\/htdocs\n   DirectoryIndex index.html\n   SSLEngine On\n   SSLCertificateFile \/etc\/ssl\/certs\/certificate.crt\n   SSLCertificateKeyFile \/etc\/ssl\/certs\/your_domain.key\n   SSLCertificateChainFile \/etc\/ssl\/certs\/intermediate.crt\n# etc...\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>SSLEngine on<\/li><li>SSLCertificateFile \u2013 The path of your certificate file.<\/li><li>SSLCertificateKeyFile \u2013 The path of your key file.<\/li><li>SSLCertificateChainFile\u2013 The intermediate certificate file.<\/li><\/ul>\n\n\n\n<p>Test appache config before restart then if everthing is okay proceed and restart.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>httpd -t \nsystemctl restart httpd<\/code><\/pre>\n\n\n\n<p>Now you can test your SSL connection.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This will be a writeup on steps to take to install SSL from 3rd party authories such as Comodo SSL, DigiCert (Image credit: DigiCert), Entrust Datacard, GeoTrust,RapidSSL. Prerequisites ssh access ssl from 3rd party OpenSSL installed on the vps A way to view the key, text editor of choice Certificate configuration 1: SSH into the [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"footnotes":""},"doc_category":[],"doc_tag":[],"class_list":["post-7998","docs","type-docs","status-publish","hentry"],"year_month":"2026-11","word_count":884,"total_views":"41","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Richard W","author_nicename":"richard","author_url":"https:\/\/truehost.com\/support\/author\/richard\/"},"doc_category_info":[],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install 3rd party certificate authorities (Premium )SSL on VPS -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install 3rd party certificate authorities (Premium )SSL on VPS -\" \/>\n<meta property=\"og:description\" content=\"This will be a writeup on steps to take to install SSL from 3rd party authories such as Comodo SSL, DigiCert (Image credit: DigiCert), Entrust Datacard, GeoTrust,RapidSSL. Prerequisites ssh access ssl from 3rd party OpenSSL installed on the vps A way to view the key, text editor of choice Certificate configuration 1: SSH into the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-07T13:02:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Configure_Now.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/\",\"name\":\"Install 3rd party certificate authorities (Premium )SSL on VPS -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Configure_Now.png\",\"datePublished\":\"2022-10-26T07:22:27+00:00\",\"dateModified\":\"2024-06-07T13:02:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Configure_Now.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Configure_Now.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install 3rd party certificate authorities (Premium )SSL on VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install 3rd party certificate authorities (Premium )SSL on VPS -","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:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install 3rd party certificate authorities (Premium )SSL on VPS -","og_description":"This will be a writeup on steps to take to install SSL from 3rd party authories such as Comodo SSL, DigiCert (Image credit: DigiCert), Entrust Datacard, GeoTrust,RapidSSL. Prerequisites ssh access ssl from 3rd party OpenSSL installed on the vps A way to view the key, text editor of choice Certificate configuration 1: SSH into the [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/","article_modified_time":"2024-06-07T13:02:44+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Configure_Now.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/","name":"Install 3rd party certificate authorities (Premium )SSL on VPS -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Configure_Now.png","datePublished":"2022-10-26T07:22:27+00:00","dateModified":"2024-06-07T13:02:44+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Configure_Now.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/08\/Configure_Now.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/install-3rd-party-certificate-authorities-premium-ssl-on-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"Install 3rd party certificate authorities (Premium )SSL on VPS"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/7998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=7998"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/7998\/revisions"}],"predecessor-version":[{"id":7999,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/7998\/revisions\/7999"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=7998"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=7998"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=7998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}