{"id":360,"date":"2021-07-23T12:28:27","date_gmt":"2021-07-23T12:28:27","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-update-ciphers-and-tls-protocols\/"},"modified":"2021-07-23T12:28:27","modified_gmt":"2021-07-23T12:28:27","slug":"how-to-update-ciphers-and-tls-protocols","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-update-ciphers-and-tls-protocols\/","title":{"rendered":"How to Update Ciphers and TLS Protocols"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 82 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>Most cPanel &#038; WHM-managed services use OpenSSL to provide secure connections between client software and the server. This document lists the interfaces in cPanel &#038; WHM in which you can adjust OpenSSL\u2019s protocols and cipher stacks for those services.<\/p>\n<h2 id=\"about-openssl\">About OpenSSL<\/h2>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>cPanel &#038; WHM uses the base operating system-provided version of OpenSSL.<\/p>\n<\/p><\/div>\n<\/div>\n<p>OpenSSL defaults to settings that maximize compatibility at the expense of security. OpenSSL allows two primary settings: ciphers and protocols.<\/p>\n<ul>\n<li>A cipher refers to a specific encryption algorithm. This setting allows the user to enable or disable ciphers individually or by category.<\/li>\n<li>A protocol refers to the way in which the system uses ciphers. This setting allows the user to enable or disable individual protocols or categories of protocols.<\/li>\n<\/ul>\n<p>Most attacks against SSL modify data as it travels between the client and the server in order to target weaknesses in specific ciphers. For example, the POODLE attack (CVE-2014-3566) targets weaknesses in the SSLv3 protocol.<\/p>\n<h2 id=\"cipher-settings\">Cipher settings<\/h2>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>\n<p>cPanel &#038; WHM supports Transport Layer Security (TLS) protocol version 1.2 and Transport Layer Security (TLS) protocol version 1.3:<\/p>\n<ul>\n<li>Beginning in cPanel and WHM version 86, cPanel &#038; WHM <strong>only<\/strong> supports TLSv1.2 or newer. The system also enables TLSv1.2 by default.<\/li>\n<li>Not all internet browsers or clients will support TLSv1.3, which requires OpenSSL 1.1.1 or higher.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>We <strong>strongly<\/strong> recommend that you do <strong>not<\/strong> adjust the cipher and protocol settings for the Exim and Dovecot services if you use Windows\u00ae 7 or MacOS\u00ae version 10.8 and earlier. Servers on these operating system fail PCI compliance scans because of unpatched security vulnerabilities that exist in the following mail clients:<\/p>\n<ul>\n<li>Outlook\u00ae 2007<\/li>\n<li>Outlook 2010<\/li>\n<li>MacMail\u00ae<\/li>\n<\/ul>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<p>You can find cPanel &#038; WHM\u2019s default cipher settings and SSL protocols in WHM\u2019s <em>cPanel Web Services Configuration<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; cPanel Web Services Configuration<\/em>). If your configuration cannot use the default settings for the SSL protocol and cipher lists, you can override them on a service-by-service basis.<\/p>\n<h2 id=\"configure-service-ciphers-and-protocols\">Configure service ciphers and protocols<\/h2>\n<p>The following section lists the interfaces and options in cPanel &#038; WHM that allow you to configure the protocol and cipher lists for services that use OpenSSL. For information about a specific service, read our <em>Service Manager<\/em> documentation.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>Some services use the string <code>SSLv23<\/code> to represent what other services call <code>ALL<\/code> for the protocol list. The example settings below demonstrate this difference on a service-by-service basis.<\/p>\n<\/p><\/div>\n<\/div>\n<h3 id=\"cpanel-whm-and-webmail\">cPanel, WHM, and Webmail<\/h3>\n<p>You can configure the cPanel, WHM, and Webmail interfaces\u2019 (<code>cpsrvd<\/code>) service cipher and protocols lists with WHM\u2019s <em>cPanel Web Services Configuration<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; cPanel Web Services Configuration<\/em>).<\/p>\n<p>This interface uses the <code>SSLv23:!SSLv2:!SSLv3:!TLSv1:!TLSv1_1<\/code> style protocol syntax.<\/p>\n<h3 id=\"web-disk\">Web Disk<\/h3>\n<p>You can configure the Web Disk service (<code>cpdavd<\/code>) cipher and protocol lists with WHM\u2019s <em>cPanel Web Disk Configuration<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; cPanel Web Disk Configuration<\/em>).<\/p>\n<p>This interface uses the <code>SSLv23:!SSLv2:!SSLv3:!TLSv1:!TLSv1_1<\/code> style protocol syntax.<\/p>\n<h3 id=\"dovecot\">Dovecot<\/h3>\n<p>You can configure the Dovecot mail service (<code>imap<\/code> and <code>pop3<\/code>) cipher and protocol lists with WHM\u2019s <em>Mailserver Configuration<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; Mailserver Configuration<\/em>).<\/p>\n<p>For protocols, this interface accepts a string that implies <code>ALL<\/code> by default. For example, the <code>!SSLv2 !SSLv3<\/code> string.<\/p>\n<h3 id=\"apache\">Apache<\/h3>\n<p>You can configure the Apache\u00ae web service (<code>httpd<\/code>) cipher and protocol WHM\u2019s <em>Global Configuration<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; Apache Configuration &gt;&gt; Global Configuration<\/em>).<\/p>\n<p>This interface accepts a protocol that resembles the <code>All -SSLv2 -SSLv3<\/code> string.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>If the selected SSL protocol or the version of OpenSSL that EasyApache 4 uses does <strong>not<\/strong> support a cipher, the system will display an error message.<\/p>\n<\/p><\/div>\n<\/div>\n<h3 id=\"exim\">Exim<\/h3>\n<p>You can configure the Exim service (<code>exim<\/code>) cipher and protocol lists with the <em>Basic Editor<\/em> section of the <em>Exim Configuration Manager<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; Exim Configuration Manager<\/em>).<\/p>\n<ul>\n<li>For ciphers, use the <em>SSL\/TLS Cipher Suite List<\/em> text box.<\/li>\n<li>For protocols, use the <em>Options for OpenSSL<\/em> text box. The protocol list accepts Exim-specific settings. For example, <code>+no_sslv2 +no_sslv3<\/code>.<\/li>\n<\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 82 through the latest version Version: 82 Overview Most cPanel &#038; WHM-managed services use OpenSSL to provide secure connections between client software and the server. This document lists the interfaces in cPanel &#038; WHM in which you can adjust OpenSSL\u2019s protocols and cipher stacks for those services. About OpenSSL Note: cPanel &#038; &hellip;<\/p>\n","protected":false},"author":1,"featured_media":361,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/360"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=360"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/360\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/361"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}