{"id":37027,"date":"2017-06-15T16:55:11","date_gmt":"2017-06-15T13:55:11","guid":{"rendered":"https:\/\/tuthost.ua\/faq\/how-to-install-an-ssl-certificate-in-directadmin\/"},"modified":"2024-07-19T22:55:33","modified_gmt":"2024-07-19T19:55:33","slug":"kak-ustanovit-ssl-sertifikat-v-directadmin","status":"publish","type":"ht_kb","link":"https:\/\/tuthost.ua\/en\/faq\/kak-ustanovit-ssl-sertifikat-v-directadmin\/","title":{"rendered":"How to install an SSL certificate in Directadmin"},"content":{"rendered":"<p>To install <a href=\"\/ssl\/certificate\/\">an SSL certificate<\/a> on your hosting you must already have 2 files: a private key (RSA Private Key &#8211; usually a file with the extension .key) and the certificate itself (a file with the extension .crt or .cer).<\/p>\n<ol>\n<li>Log in to your Directadmin control panel and click the SSL certificates link in the advanced options.<\/li>\n<li>In the form that opens, select: Insert the pre-generated certificate and key.<br \/>\nInsert first the contents of the private key and then the contents of the issued certificate in turn. Copy it together with the BEGIN and END tags to make it look like in the screenshot and press save.<br \/>\n<a href=\"https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step1-247x300.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-13743 aligncenter\" src=\"https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step1-247x300.png\" alt=\"\" width=\"247\" height=\"300\" title=\"\" srcset=\"https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step1-247x300.png 247w, https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step1.png 593w\" sizes=\"auto, (max-width: 247px) 100vw, 247px\" \/><\/a><\/li>\n<li>Next, you must install intermediate certificates.<br \/>\nTo do this, click on the link below the form: <strong>Click here<\/strong> to insert the main CA Root Certificate.<br \/>\nIn the form that opens, insert the intermediate certificate received from the CA and check the <strong>Use CA Certificate<\/strong> checkbox.<\/li>\n<li>Make sure that SSL is enabled for your domain. To do this, go to Domain Settings and select your domain.<br \/>\nThere must be a check mark next to the SSL line.<br \/>\nAlso in the setting at the bottom, we recommend selecting the option: Use link from private_html to public_html for http and https operation of the site.<br \/>\nIf you select this option, your site will be accessible both via http and https.<br \/>\n<a href=\"https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step2-300x155.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-13744\" src=\"https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step2-300x155.png\" alt=\"\" width=\"300\" height=\"155\" title=\"\" srcset=\"https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step2-300x155.png 300w, https:\/\/tuthost.ua\/wp-content\/uploads\/2017\/06\/ssl-step2.png 589w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>That&#8217;s all, if you have done everything correctly &#8211; you can check the work of your site on https:\/\/<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>To install an SSL certificate on your hosting you must already have 2 files: a private key (RSA Private Key &#8211; usually a file with the extension .key) and the certificate itself (a file with the extension .crt or .cer). Log in to your Directadmin control panel and click the SSL certificates link in the&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","ghostkit_customizer_options":"","ghostkit_custom_css":"","ghostkit_custom_js_head":"","ghostkit_custom_js_foot":"","ghostkit_typography":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"ht-kb-category":[10694,10696],"ht-kb-tag":[],"class_list":["post-37027","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-control-panel-directadmin","ht_kb_category-ssl-certificates"],"taxonomy_info":{"ht_kb_category":[{"value":10694,"label":"Control Panel - Directadmin"},{"value":10696,"label":"SSL certificates"}]},"featured_image_src_large":[],"author_info":{"display_name":"Denys Semeniuk","author_link":"https:\/\/tuthost.ua\/en\/author\/semden\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb\/37027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/comments?post=37027"}],"version-history":[{"count":2,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb\/37027\/revisions"}],"predecessor-version":[{"id":52475,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb\/37027\/revisions\/52475"}],"wp:attachment":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/media?parent=37027"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb-category?post=37027"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=37027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}