{"id":3187,"date":"2020-05-31T07:02:00","date_gmt":"2020-05-31T01:32:00","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=3187"},"modified":"2023-01-26T17:51:11","modified_gmt":"2023-01-26T12:21:11","slug":"ssl-certificate-locations-in-directadmin","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/","title":{"rendered":"SSL Certificate Locations in DirectAdmin"},"content":{"rendered":"\n<p>General information for default certificate locations for various services.<br>The order will be cert,key, ca\/chain, combined (cert+ca)and their related directadmin.conf settings, where applicable.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Apache\/LiteSpeed<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">apachecert=\/etc\/httpd\/conf\/ssl.crt\/server.crt<br>apachekey=\/etc\/httpd\/conf\/ssl.key\/server.key<br>apacheca=\/etc\/httpd\/conf\/ssl.crt\/server.ca<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>OpenLiteSpeed<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">openlitespeed_cert=\/usr\/local\/lsws\/ssl.crt\/server.crt<br>openlitespeed_key=\/usr\/local\/lsws\/ssl.key\/server.key<br>openlitespeed_ca=\/usr\/local\/lsws\/ssl.crt\/server.ca<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Nginx<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">nginx_cert=\/etc\/nginx\/ssl.crt\/server.crt<br>nginx_key=\/etc\/nginx\/ssl.key\/server.key<br>nginx_ca=\/etc\/nginx\/ssl.crt\/server.ca<br>\/etc\/nginx\/ssl.crt\/server.crt.combined<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Exim + Dovecot<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/exim.cert<br>\/etc\/exim.key<\/pre>\n\n\n\n<p>Note that the exim.cert contains BOTH the cert and the ca, in that order.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>User Domain<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.cert<br>\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.key<br>\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.ca<br>\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.combined<\/pre>\n\n\n\n<p>DirectAdmin may automatically create the .combined version of the cert, when needed by various servers.<br>If you see one on disk beside the cert, put the cert + ca into the combined file, eg:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cat \/etc\/nginx\/ssl.crt\/server.crt \/etc\/nginx\/ssl.crt\/server.ca &gt; \/etc\/nginx\/ssl.crt\/server.crt.combined<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>General information for default certificate locations for various services.The order will be cert,key, ca\/chain, combined (cert+ca)and their related directadmin.conf settings, where applicable. Apache\/LiteSpeed apachecert=\/etc\/httpd\/conf\/ssl.crt\/server.crtapachekey=\/etc\/httpd\/conf\/ssl.key\/server.keyapacheca=\/etc\/httpd\/conf\/ssl.crt\/server.ca OpenLiteSpeed openlitespeed_cert=\/usr\/local\/lsws\/ssl.crt\/server.crtopenlitespeed_key=\/usr\/local\/lsws\/ssl.key\/server.keyopenlitespeed_ca=\/usr\/local\/lsws\/ssl.crt\/server.ca Nginx nginx_cert=\/etc\/nginx\/ssl.crt\/server.crtnginx_key=\/etc\/nginx\/ssl.key\/server.keynginx_ca=\/etc\/nginx\/ssl.crt\/server.ca\/etc\/nginx\/ssl.crt\/server.crt.combined Exim + Dovecot \/etc\/exim.cert\/etc\/exim.key Note that the exim.cert contains BOTH the cert and the ca, in that order. User Domain \/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.cert\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.key\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.ca\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.combined DirectAdmin may automatically create the .combined [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3570,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[273],"tags":[],"class_list":["post-3187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-directadmin"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SSL Certificate Locations in DirectAdmin | 24x7serversupport Blog<\/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:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SSL Certificate Locations in DirectAdmin | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"General information for default certificate locations for various services.The order will be cert,key, ca\/chain, combined (cert+ca)and their related directadmin.conf settings, where applicable. Apache\/LiteSpeed apachecert=\/etc\/httpd\/conf\/ssl.crt\/server.crtapachekey=\/etc\/httpd\/conf\/ssl.key\/server.keyapacheca=\/etc\/httpd\/conf\/ssl.crt\/server.ca OpenLiteSpeed openlitespeed_cert=\/usr\/local\/lsws\/ssl.crt\/server.crtopenlitespeed_key=\/usr\/local\/lsws\/ssl.key\/server.keyopenlitespeed_ca=\/usr\/local\/lsws\/ssl.crt\/server.ca Nginx nginx_cert=\/etc\/nginx\/ssl.crt\/server.crtnginx_key=\/etc\/nginx\/ssl.key\/server.keynginx_ca=\/etc\/nginx\/ssl.crt\/server.ca\/etc\/nginx\/ssl.crt\/server.crt.combined Exim + Dovecot \/etc\/exim.cert\/etc\/exim.key Note that the exim.cert contains BOTH the cert and the ca, in that order. User Domain \/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.cert\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.key\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.ca\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.combined DirectAdmin may automatically create the .combined [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-31T01:32:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-26T12:21:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"197\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/\",\"name\":\"SSL Certificate Locations in DirectAdmin | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1\",\"datePublished\":\"2020-05-31T01:32:00+00:00\",\"dateModified\":\"2023-01-26T12:21:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1\",\"width\":197,\"height\":256,\"caption\":\"SSL Certificate Locations in DirectAdmin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSL Certificate Locations in DirectAdmin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SSL Certificate Locations in DirectAdmin | 24x7serversupport Blog","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.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"SSL Certificate Locations in DirectAdmin | 24x7serversupport Blog","og_description":"General information for default certificate locations for various services.The order will be cert,key, ca\/chain, combined (cert+ca)and their related directadmin.conf settings, where applicable. Apache\/LiteSpeed apachecert=\/etc\/httpd\/conf\/ssl.crt\/server.crtapachekey=\/etc\/httpd\/conf\/ssl.key\/server.keyapacheca=\/etc\/httpd\/conf\/ssl.crt\/server.ca OpenLiteSpeed openlitespeed_cert=\/usr\/local\/lsws\/ssl.crt\/server.crtopenlitespeed_key=\/usr\/local\/lsws\/ssl.key\/server.keyopenlitespeed_ca=\/usr\/local\/lsws\/ssl.crt\/server.ca Nginx nginx_cert=\/etc\/nginx\/ssl.crt\/server.crtnginx_key=\/etc\/nginx\/ssl.key\/server.keynginx_ca=\/etc\/nginx\/ssl.crt\/server.ca\/etc\/nginx\/ssl.crt\/server.crt.combined Exim + Dovecot \/etc\/exim.cert\/etc\/exim.key Note that the exim.cert contains BOTH the cert and the ca, in that order. User Domain \/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.cert\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.key\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.ca\/usr\/local\/directadmin\/data\/users\/USER\/domains\/DOMAIN.COM.combined DirectAdmin may automatically create the .combined [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-05-31T01:32:00+00:00","article_modified_time":"2023-01-26T12:21:11+00:00","og_image":[{"width":197,"height":256,"url":"https:\/\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg","type":"image\/jpeg"}],"author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/","url":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/","name":"SSL Certificate Locations in DirectAdmin | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#primaryimage"},"image":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1","datePublished":"2020-05-31T01:32:00+00:00","dateModified":"2023-01-26T12:21:11+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#primaryimage","url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1","width":197,"height":256,"caption":"SSL Certificate Locations in DirectAdmin"},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/ssl-certificate-locations-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SSL Certificate Locations in DirectAdmin"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/05\/SSL.jpeg?fit=197%2C256&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=3187"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3187\/revisions"}],"predecessor-version":[{"id":3188,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3187\/revisions\/3188"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media\/3570"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=3187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=3187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=3187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}