<?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 Re: SSL: WRONG_VERSION_NUMBER when sending email in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/560105#M6453</link>
    <description>&lt;P&gt;Try to use default port 465 not 587&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 18:09:02 GMT</pubDate>
    <dc:creator>amandeepsingh</dc:creator>
    <dc:date>2021-07-19T18:09:02Z</dc:date>
    <item>
      <title>SSL: WRONG_VERSION_NUMBER when sending email</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390473#M1227</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I am getting the following error when trying to send an email&lt;/P&gt;

&lt;P&gt;command="sendemail", [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:741) while sending mail to&lt;/P&gt;

&lt;P&gt;using the command&lt;BR /&gt;
index=_internal | head 1 | sendemail to="my email" from="domain email" format="html" server=smtp-relay.gmail.com:587 use_ssl=1&lt;/P&gt;

&lt;P&gt;How can I fix this error?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:17:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390473#M1227</guid>
      <dc:creator>gbennett111</dc:creator>
      <dc:date>2020-09-29T23:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSL: WRONG_VERSION_NUMBER when sending email</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390474#M1228</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;take a look at the &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/ReleaseNotes/Knownissues#Unsorted_issues"&gt;known issues&lt;/A&gt;. Search for SPL-138647, hope this helps.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:30:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390474#M1228</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2019-02-19T12:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSL: WRONG_VERSION_NUMBER when sending email</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390475#M1229</link>
      <description>&lt;P&gt;Thanks Skalli,&lt;/P&gt;

&lt;P&gt;After applying the config change and adding&lt;BR /&gt;
[email]&lt;BR /&gt;
sslVersions = *,-ssl2&lt;BR /&gt;
cipherSuite = TLSv1+HIGH:TLSv1.2+HIGH:@STRENGTH&lt;/P&gt;

&lt;P&gt;Got rid of that error now getting &lt;BR /&gt;
command="sendemail", [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:741) &lt;/P&gt;

&lt;P&gt;Running the below command returns the following&lt;/P&gt;

&lt;P&gt;sudo ./splunk/bin/splunk cmd openssl s_client -connect smtp-relay.gmail.com:587 | awk '/Protocol/ || /Cipher/ || /Verify/'&lt;BR /&gt;
140005157344960:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:827:&lt;BR /&gt;
New, (NONE), Cipher is (NONE)&lt;BR /&gt;
    Protocol  : TLSv1.2&lt;BR /&gt;
    Cipher    : 0000&lt;BR /&gt;
    Verify return code: 0 (ok)&lt;/P&gt;

&lt;P&gt;The server has other applications successfully sending emails via the above mail server so I am missing something in the config.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390475#M1229</guid>
      <dc:creator>gbennett111</dc:creator>
      <dc:date>2020-09-29T23:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: SSL: WRONG_VERSION_NUMBER when sending email</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390476#M1230</link>
      <description>&lt;P&gt;Hm, this seems weird. Are you using a certificate of your own CA (or Let's Encrypt)? Can you test that certificate (validate) and check if it's in the correct format? If you can not connct wiht openssl to that server, it's the certificate.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 08:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390476#M1230</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2019-02-20T08:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: SSL: WRONG_VERSION_NUMBER when sending email</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390477#M1231</link>
      <description>&lt;P&gt;Hi Skalli,&lt;/P&gt;

&lt;P&gt;It's not our certificate it's Google's certificate and as stated we have other applications installed (Jira, Confluence)  that can successfully connect and send emails via the same mail server.&lt;/P&gt;

&lt;P&gt;I am at a loss as well as I do not know why one application is working correctly and another is not.  I may have to try a different mail server and see how I go.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/390477#M1231</guid>
      <dc:creator>gbennett111</dc:creator>
      <dc:date>2019-02-20T21:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: SSL: WRONG_VERSION_NUMBER when sending email</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/560105#M6453</link>
      <description>&lt;P&gt;Try to use default port 465 not 587&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SSL-WRONG-VERSION-NUMBER-when-sending-email/m-p/560105#M6453</guid>
      <dc:creator>amandeepsingh</dc:creator>
      <dc:date>2021-07-19T18:09:02Z</dc:date>
    </item>
  </channel>
</rss>

