{"id":1133,"date":"2017-04-10T15:11:49","date_gmt":"2017-04-10T15:11:49","guid":{"rendered":"http:\/\/help.sealionshipping.co.uk\/?p=1133"},"modified":"2017-04-10T15:11:49","modified_gmt":"2017-04-10T15:11:49","slug":"testing-validity-of-installed-ssl-certificate","status":"publish","type":"post","link":"http:\/\/gardiner.tech\/bluebook\/blog\/2017\/04\/10\/testing-validity-of-installed-ssl-certificate\/","title":{"rendered":"Testing Validity of Installed SSL Certificate"},"content":{"rendered":"<p>\t\t\t\tFrom time to time it is worth checking the validity of an SSL certificate installation for any vulnerabilities due to (for instance) &#8211; obsolete SSL Ciphers; expiry date; revocation checks; heartbeat vulnerability; etc<\/p>\n<p>DigiCert produce an easy tool to use to check this information.<\/p>\n<p>Click on <a href=\"https:\/\/www.digicert.com\/help\/\">digicert.com\/help<\/a> and enter the domain name or IP address to check the SSL certificate presentation.<\/p>\n<p>&nbsp;<\/p>\n<p>For reference while investigating Event ID: 36887 Shannel\u00a0Error 46 alerts in the System event log (<em>A fatal alert was received from the remote endpoint. The TLS protocol defined fatal alert code is 46<\/em>)\u00a0we saw the following results of\u00a0incorrect cyphers for\u00a0mail.sealionshippping.co.uk<\/p>\n<p><a href=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-TLS-Results-APR-17before-correcting.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1136\" src=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-TLS-Results-APR-17before-correcting.jpg\" alt=\"\" width=\"939\" height=\"646\" \/><\/a><\/p>\n<p><span style=\"color: #666666; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">Some versions of Windows Server (including Windows Server 2008 <span style=\"color: #666666; font-size: small;\">using IIS 7<\/span> &amp; Server 2012) allow SSL 2.0 and SSL 3.0 by default. Unfortunately, these are insecure protocols and you will fail a<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><a style=\"box-sizing: border-box; background-color: #ffffff; color: #3280e7; text-decoration: none; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;\" href=\"https:\/\/www.sslshopper.com\/article-ssl-certificates-and-pci-compliance.html\">PCI Compliance scan<\/a><span style=\"color: #666666; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\"><span class=\"Apple-converted-space\">\u00a0<\/span>if you don&#8217;t disable them. To properly secure your server and ensure that you pass your PCI-DSS scans, you will need to disable SSL 2.0, SSL 3.0 and disable weak ciphers. Other algorithms are also insecure and current ones may be deprecated in the future. Make sure to follow<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><a style=\"box-sizing: border-box; background-color: #ffffff; color: #3280e7; text-decoration: none; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;\" href=\"https:\/\/www.ssllabs.com\/projects\/best-practices\/\">SSL Deployment Best Practices<\/a><span style=\"color: #666666; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\"><span class=\"Apple-converted-space\">\u00a0<\/span>when determining which protocols and ciphers to enable.<\/span><\/p>\n<p><span style=\"color: #666666; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">The simplest way to disable and correct insecure protocols and ciphers is to use a GUI. Because Windows doesn&#8217;t provide such an interface, you&#8217;ll need to use a tool like<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><a style=\"box-sizing: border-box; background-color: #ffffff; color: #3280e7; text-decoration: none; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;\" href=\"https:\/\/www.nartac.com\/Products\/IISCrypto\">Nartac&#8217;s IIS Crypto tool<\/a><span style=\"color: #666666; font-family: 'Open Sans', sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\"><span class=\"Apple-converted-space\">\u00a0<\/span>.<\/span><\/p>\n<p>Checking the Exchange server with Nartac&#8217;s\u00a0IIS Crypto tool we can see we are not using SSL 2.0 or SSL 3.0 but we are using a number of obsolete RC cyphers installed by default<\/p>\n<p><a href=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-TLS-REsults-APR-17before-setting-using-IIS-Crypto-2.0-v2.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1138\" src=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-TLS-REsults-APR-17before-setting-using-IIS-Crypto-2.0-v2.jpg\" alt=\"\" width=\"901\" height=\"699\" \/><\/a><\/p>\n<p>By clicking on Best Practices button, the IIS was set\u00a0to the correct settings (as below)<\/p>\n<p><a href=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-Settings-APR-17-now-after-using-IIS-Crypto-2.0.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1139\" src=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-Settings-APR-17-now-after-using-IIS-Crypto-2.0.jpg\" alt=\"\" width=\"899\" height=\"516\" \/><\/a><\/p>\n<p>And now checking using\u00a0<a href=\"https:\/\/www.digicert.com\/help\/\"><u><span style=\"color: #0066cc;\">digicert.com\/help<\/span><\/u><\/a>\u00a0produces the following confirmation that the certificate is installed correctly.<\/p>\n<p><a href=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-TLS-REsults-APR-17-after-setting-using-IIS-Crypto-2.0.jpg\"><img loading=\"lazy\" class=\"wp-image-1140 aligncenter\" src=\"http:\/\/help.sealionshipping.co.uk\/wp-content\/uploads\/2017\/04\/Exchange-IIS-TLS-REsults-APR-17-after-setting-using-IIS-Crypto-2.0.jpg\" alt=\"\" width=\"699\" height=\"434\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Note that the problem with TLS error that we originally investigating was <strong>not<\/strong> the result of an incorrectly installed SSL certificate but because\u00a0Mimecast\u00a0checks inbound emails against spam and viruses by using TLS to hand out the email to our server via the &#8220;Default ServerName&#8221; Receive connector.\u00a0The default FQDN setting for that connector is &#8220;servername.domain&#8221;\u00a0and this\u00a0SMTP connector has\u00a0a Self-signed Certificate for the server name only.<\/p>\n<p>There is no way to change the name with one using a public certificate &#8211; so we disabled the SCHANNEL Event logging completely <a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/260729\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https:\/\/support.microsoft.com\/en-us\/kb\/260729<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>References:-<br \/>\n<a href=\"https:\/\/community.spiceworks.com\/topic\/282207-event-id-36887-schannel-error-46-exchange-2010\">Event ID: 36887 Schannel Error 46 &#8211; Exchange 2010<\/a><br \/>\n<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/cc700843.aspx\"> Troubleshooting Certificate Status and Revocation<\/a><\/p>\n<h1>DigiCert Certificate Utility for Windows<\/h1>\n<p>The free DigiCert Certificate Utility for Windows is an indispensable tool for administrators and a must-have for anyone that uses SSL Certificates for Websites and servers or Code Signing Certificates for trusted software.<\/p>\n<p class=\"product-calltoaction\"><a class=\"ks-button tertiary\" href=\"https:\/\/www.digicert.com\/util\/DigiCertUtil.zip\">FREE DOWNLOAD <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>From time to time it is worth checking the validity of an SSL certificate installation for any vulnerabilities due to (for instance) &#8211; obsolete SSL Ciphers; expiry date; revocation checks; heartbeat vulnerability; etc DigiCert produce an easy tool to use to check this information. Click on digicert.com\/help and enter the domain name or IP address to check the SSL certificate presentation. &nbsp; For reference while investigating Event ID: 36887 Shannel\u00a0Error 46 alerts in the System [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[79],"tags":[],"_links":{"self":[{"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/posts\/1133"}],"collection":[{"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/comments?post=1133"}],"version-history":[{"count":0,"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/posts\/1133\/revisions"}],"wp:attachment":[{"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/media?parent=1133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/categories?post=1133"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gardiner.tech\/bluebook\/wp-json\/wp\/v2\/tags?post=1133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}