<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic TA-DMARC TLS Version Error in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-TLS-Version-Error/m-p/484824#M59629</link>
    <description>&lt;P&gt;When attempting to add an input for TA-DMARC, I am receiving the following error:&lt;/P&gt;

&lt;P&gt;Error connecting to {imap.hostname.tld} with exception [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:741)&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;TLS is working on the IMAP host on port 993:&lt;/P&gt;

&lt;P&gt;sslscan {imap.hostname.tld}:993&lt;BR /&gt;
Version: 1.11.13-static&lt;BR /&gt;
OpenSSL 1.0.2-chacha (1.0.2g-dev)&lt;/P&gt;

&lt;P&gt;Connected to {ip.address}&lt;/P&gt;

&lt;P&gt;Testing SSL server {imap.hostname.tld} on port 993 using SNI name {imap.hostname.tld}&lt;/P&gt;

&lt;P&gt;TLS Fallback SCSV:&lt;BR /&gt;
Server only supports TLSv1.0&lt;/P&gt;

&lt;P&gt;TLS renegotiation:&lt;BR /&gt;
Secure session renegotiation supported&lt;/P&gt;

&lt;P&gt;TLS Compression:&lt;BR /&gt;
Compression disabled&lt;/P&gt;

&lt;P&gt;Heartbleed:&lt;BR /&gt;
TLS 1.2 not vulnerable to heartbleed&lt;BR /&gt;
TLS 1.1 not vulnerable to heartbleed&lt;BR /&gt;
TLS 1.0 not vulnerable to heartbleed&lt;/P&gt;

&lt;P&gt;Supported Server Cipher(s):&lt;BR /&gt;
Preferred TLSv1.0  256 bits  ECDHE-RSA-AES256-SHA          Curve P-521 DHE 521&lt;BR /&gt;
Accepted  TLSv1.0  128 bits  ECDHE-RSA-AES128-SHA          Curve P-521 DHE 521&lt;BR /&gt;
Accepted  TLSv1.0  256 bits  AES256-SHA&lt;BR /&gt;
Accepted  TLSv1.0  128 bits  AES128-SHA&lt;BR /&gt;
Accepted  TLSv1.0  112 bits  DES-CBC3-SHA&lt;/P&gt;

&lt;P&gt;SSL Certificate:&lt;BR /&gt;
Signature Algorithm: sha256WithRSAEncryption&lt;BR /&gt;
RSA Key Strength:    2048&lt;/P&gt;

&lt;P&gt;Subject:  {imap.hostname.tld}&lt;BR /&gt;
Altnames: DNS:{imap.hostname.tld}, {snip}&lt;BR /&gt;
Issuer:   DigiCert SHA2 Secure Server CA&lt;/P&gt;

&lt;P&gt;Not valid before: May 31 00:00:00 2017 GMT&lt;BR /&gt;
Not valid after:  Aug  3 12:00:00 2020 GMT&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;And the SPLUNK instance is able to connect to the IMAP server via TLS 1.0 on port 993:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/bin/splunk cmd openssl s_client -connect {imap.hostname.tld}:993&lt;BR /&gt;
CONNECTED(00000003)&lt;BR /&gt;
depth=1 C = US, O = DigiCert Inc, CN = DigiCert SHA2 Secure Server CA&lt;/P&gt;

&lt;H2&gt;verify error:num=20:unable to get local issuer certificate&lt;/H2&gt;

&lt;P&gt;Certificate chain&lt;BR /&gt;
 0 s:{snip}&lt;BR /&gt;
   i:/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA&lt;BR /&gt;
 1 s:/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA&lt;/P&gt;

&lt;H2&gt;   i:/C=US/O=DigiCert Inc/OU=&lt;A href="http://www.digicert.com/CN=DigiCert" target="_blank"&gt;www.digicert.com/CN=DigiCert&lt;/A&gt; Global Root CA&lt;/H2&gt;

&lt;P&gt;Server certificate&lt;BR /&gt;
-----BEGIN CERTIFICATE-----&lt;BR /&gt;
{...snip...}&lt;BR /&gt;
-----END CERTIFICATE-----&lt;BR /&gt;
subject={snip}&lt;/P&gt;

&lt;H2&gt;issuer=/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA&lt;/H2&gt;

&lt;P&gt;No client certificate CA names sent&lt;/P&gt;

&lt;H2&gt;Server Temp Key: ECDH, P-521, 521 bits&lt;/H2&gt;

&lt;H2&gt;SSL handshake has read 3143 bytes and written 508 bytes&lt;/H2&gt;

&lt;P&gt;New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA&lt;BR /&gt;
Server public key is 2048 bit&lt;BR /&gt;
Secure Renegotiation IS supported&lt;BR /&gt;
Compression: NONE&lt;BR /&gt;
Expansion: NONE&lt;BR /&gt;
No ALPN negotiated&lt;BR /&gt;
SSL-Session:&lt;BR /&gt;
    Protocol  : TLSv1&lt;BR /&gt;
    Cipher    : ECDHE-RSA-AES256-SHA&lt;BR /&gt;
    Session-ID: {snip}&lt;BR /&gt;
    Session-ID-ctx: &lt;BR /&gt;
    Master-Key: {snip}&lt;BR /&gt;
    Key-Arg   : None&lt;BR /&gt;
    PSK identity: None&lt;BR /&gt;
    PSK identity hint: None&lt;BR /&gt;
    SRP username: None&lt;BR /&gt;
    Start Time: 1573671407&lt;BR /&gt;
    Timeout   : 300 (sec)&lt;/P&gt;

&lt;H2&gt;    Verify return code: 20 (unable to get local issuer certificate)&lt;/H2&gt;

&lt;UL&gt;
&lt;LI&gt;OK The Microsoft Exchange IMAP4 service is ready.&lt;/LI&gt;
&lt;/UL&gt;

&lt;HR /&gt;

&lt;P&gt;Is there any configuration in TA-DMARC that may have an effect on this issue or should I be looking elsewhere in SPLUNK?  Any pointers or hints with this issue would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:58:58 GMT</pubDate>
    <dc:creator>heplerdh</dc:creator>
    <dc:date>2020-09-30T02:58:58Z</dc:date>
    <item>
      <title>TA-DMARC TLS Version Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-TLS-Version-Error/m-p/484824#M59629</link>
      <description>&lt;P&gt;When attempting to add an input for TA-DMARC, I am receiving the following error:&lt;/P&gt;

&lt;P&gt;Error connecting to {imap.hostname.tld} with exception [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:741)&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;TLS is working on the IMAP host on port 993:&lt;/P&gt;

&lt;P&gt;sslscan {imap.hostname.tld}:993&lt;BR /&gt;
Version: 1.11.13-static&lt;BR /&gt;
OpenSSL 1.0.2-chacha (1.0.2g-dev)&lt;/P&gt;

&lt;P&gt;Connected to {ip.address}&lt;/P&gt;

&lt;P&gt;Testing SSL server {imap.hostname.tld} on port 993 using SNI name {imap.hostname.tld}&lt;/P&gt;

&lt;P&gt;TLS Fallback SCSV:&lt;BR /&gt;
Server only supports TLSv1.0&lt;/P&gt;

&lt;P&gt;TLS renegotiation:&lt;BR /&gt;
Secure session renegotiation supported&lt;/P&gt;

&lt;P&gt;TLS Compression:&lt;BR /&gt;
Compression disabled&lt;/P&gt;

&lt;P&gt;Heartbleed:&lt;BR /&gt;
TLS 1.2 not vulnerable to heartbleed&lt;BR /&gt;
TLS 1.1 not vulnerable to heartbleed&lt;BR /&gt;
TLS 1.0 not vulnerable to heartbleed&lt;/P&gt;

&lt;P&gt;Supported Server Cipher(s):&lt;BR /&gt;
Preferred TLSv1.0  256 bits  ECDHE-RSA-AES256-SHA          Curve P-521 DHE 521&lt;BR /&gt;
Accepted  TLSv1.0  128 bits  ECDHE-RSA-AES128-SHA          Curve P-521 DHE 521&lt;BR /&gt;
Accepted  TLSv1.0  256 bits  AES256-SHA&lt;BR /&gt;
Accepted  TLSv1.0  128 bits  AES128-SHA&lt;BR /&gt;
Accepted  TLSv1.0  112 bits  DES-CBC3-SHA&lt;/P&gt;

&lt;P&gt;SSL Certificate:&lt;BR /&gt;
Signature Algorithm: sha256WithRSAEncryption&lt;BR /&gt;
RSA Key Strength:    2048&lt;/P&gt;

&lt;P&gt;Subject:  {imap.hostname.tld}&lt;BR /&gt;
Altnames: DNS:{imap.hostname.tld}, {snip}&lt;BR /&gt;
Issuer:   DigiCert SHA2 Secure Server CA&lt;/P&gt;

&lt;P&gt;Not valid before: May 31 00:00:00 2017 GMT&lt;BR /&gt;
Not valid after:  Aug  3 12:00:00 2020 GMT&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;And the SPLUNK instance is able to connect to the IMAP server via TLS 1.0 on port 993:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/bin/splunk cmd openssl s_client -connect {imap.hostname.tld}:993&lt;BR /&gt;
CONNECTED(00000003)&lt;BR /&gt;
depth=1 C = US, O = DigiCert Inc, CN = DigiCert SHA2 Secure Server CA&lt;/P&gt;

&lt;H2&gt;verify error:num=20:unable to get local issuer certificate&lt;/H2&gt;

&lt;P&gt;Certificate chain&lt;BR /&gt;
 0 s:{snip}&lt;BR /&gt;
   i:/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA&lt;BR /&gt;
 1 s:/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA&lt;/P&gt;

&lt;H2&gt;   i:/C=US/O=DigiCert Inc/OU=&lt;A href="http://www.digicert.com/CN=DigiCert" target="_blank"&gt;www.digicert.com/CN=DigiCert&lt;/A&gt; Global Root CA&lt;/H2&gt;

&lt;P&gt;Server certificate&lt;BR /&gt;
-----BEGIN CERTIFICATE-----&lt;BR /&gt;
{...snip...}&lt;BR /&gt;
-----END CERTIFICATE-----&lt;BR /&gt;
subject={snip}&lt;/P&gt;

&lt;H2&gt;issuer=/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA&lt;/H2&gt;

&lt;P&gt;No client certificate CA names sent&lt;/P&gt;

&lt;H2&gt;Server Temp Key: ECDH, P-521, 521 bits&lt;/H2&gt;

&lt;H2&gt;SSL handshake has read 3143 bytes and written 508 bytes&lt;/H2&gt;

&lt;P&gt;New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA&lt;BR /&gt;
Server public key is 2048 bit&lt;BR /&gt;
Secure Renegotiation IS supported&lt;BR /&gt;
Compression: NONE&lt;BR /&gt;
Expansion: NONE&lt;BR /&gt;
No ALPN negotiated&lt;BR /&gt;
SSL-Session:&lt;BR /&gt;
    Protocol  : TLSv1&lt;BR /&gt;
    Cipher    : ECDHE-RSA-AES256-SHA&lt;BR /&gt;
    Session-ID: {snip}&lt;BR /&gt;
    Session-ID-ctx: &lt;BR /&gt;
    Master-Key: {snip}&lt;BR /&gt;
    Key-Arg   : None&lt;BR /&gt;
    PSK identity: None&lt;BR /&gt;
    PSK identity hint: None&lt;BR /&gt;
    SRP username: None&lt;BR /&gt;
    Start Time: 1573671407&lt;BR /&gt;
    Timeout   : 300 (sec)&lt;/P&gt;

&lt;H2&gt;    Verify return code: 20 (unable to get local issuer certificate)&lt;/H2&gt;

&lt;UL&gt;
&lt;LI&gt;OK The Microsoft Exchange IMAP4 service is ready.&lt;/LI&gt;
&lt;/UL&gt;

&lt;HR /&gt;

&lt;P&gt;Is there any configuration in TA-DMARC that may have an effect on this issue or should I be looking elsewhere in SPLUNK?  Any pointers or hints with this issue would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-TLS-Version-Error/m-p/484824#M59629</guid>
      <dc:creator>heplerdh</dc:creator>
      <dc:date>2020-09-30T02:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: TA-DMARC TLS Version Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-TLS-Version-Error/m-p/484825#M59630</link>
      <description>&lt;P&gt;TLSv1.0 is not supported out-of-the box.&lt;BR /&gt;
To support older exchange boxes like yours, change line 55 of &lt;CODE&gt;imap2dir.py&lt;/CODE&gt;:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/jorritfolmer/TA-dmarc/blob/master/bin/dmarc/imap2dir.py#L55"&gt;https://github.com/jorritfolmer/TA-dmarc/blob/master/bin/dmarc/imap2dir.py#L55&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 07:57:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-DMARC-TLS-Version-Error/m-p/484825#M59630</guid>
      <dc:creator>jorritf</dc:creator>
      <dc:date>2019-11-14T07:57:03Z</dc:date>
    </item>
  </channel>
</rss>

