<?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 Content-type: Alert (21) in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/1218379#M876374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like alert code 21 means that the message could not be unencrypted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://en.wikipedia.org/wiki/Secure_Sockets_Layer#Alert_protocol" target="_blank"&gt;http://en.wikipedia.org/wiki/Secure_Sockets_Layer#Alert_protocol&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never experienced this problem, so I'm not sure how to proceed in troubleshooting it. Could the packets be corrupted during transportation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you mentioned "one of the webpages". Does this mean that you are only having this error when visiting a single page and all other pages are working? If so, you may want to look at the application side of things on the web server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2009 03:00:12 GMT</pubDate>
    <dc:creator>robertson.michael</dc:creator>
    <dc:date>2009-02-16T03:00:12Z</dc:date>
    <item>
      <title>SSL Content-type: Alert (21)</title>
      <link>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/1218378#M876372</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During https connection after the handshake is successfully done, I am getting 'Encrypted Alert' message in Wireshark/Ethereal on one of the webpages. The alert error code is 21. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what Alert 21 means. Or is there any list for alert protocol error codes and its description. &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 14:50:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/1218378#M876372</guid>
      <dc:creator>cisco_lite</dc:creator>
      <dc:date>2019-03-11T14:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSL Content-type: Alert (21)</title>
      <link>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/1218379#M876374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like alert code 21 means that the message could not be unencrypted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://en.wikipedia.org/wiki/Secure_Sockets_Layer#Alert_protocol" target="_blank"&gt;http://en.wikipedia.org/wiki/Secure_Sockets_Layer#Alert_protocol&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never experienced this problem, so I'm not sure how to proceed in troubleshooting it. Could the packets be corrupted during transportation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you mentioned "one of the webpages". Does this mean that you are only having this error when visiting a single page and all other pages are working? If so, you may want to look at the application side of things on the web server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 03:00:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/1218379#M876374</guid>
      <dc:creator>robertson.michael</dc:creator>
      <dc:date>2009-02-16T03:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: SSL Content-type: Alert (21)</title>
      <link>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/3417735#M876378</link>
      <description>&lt;P&gt;In a nutshell TLS is all about different&amp;nbsp;records. Different records serve different purposes. Records have &lt;EM&gt;Content-Type&lt;/EM&gt; field and &lt;EM&gt;Message&lt;/EM&gt; fields (Some other fields too).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Content-Type&lt;/EM&gt; will state &lt;SPAN&gt;&lt;EM&gt;Record Layer Protocol&lt;/EM&gt; Type&lt;/SPAN&gt;. Depending upon the Content-Type field's value, you know what is the purpose of a particular record. For eg: &lt;EM&gt;Content-Type=21&lt;/EM&gt; means that this is an &lt;EM&gt;Alert&lt;/EM&gt;&amp;nbsp;protocol and &lt;EM&gt;Content-Type=22&lt;/EM&gt; means that this is a &lt;EM&gt;Handshake&lt;/EM&gt;&amp;nbsp;protocol.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Message&lt;/EM&gt; field will contain the actual message related to a particular &lt;EM&gt;Record&amp;nbsp;Protocol &lt;/EM&gt;type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;Alert&lt;/EM&gt;&amp;nbsp;protocol further has a field called&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;Description&lt;/EM&gt;. This field&amp;nbsp;contains the&amp;nbsp;actual error information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;There are different Descriptions, the list could be found here:&amp;nbsp;&lt;A href="https://tools.ietf.org/html/rfc5246#page-29&amp;nbsp;" target="_blank"&gt;https://tools.ietf.org/html/rfc5246#page-29&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Each Description has a Code associated with it. A Description named&amp;nbsp;&lt;EM&gt;decryption_failed_RESERVED&lt;/EM&gt; has Code of 21.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now coming to the wireshark:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;21 shown in the wireshark capture is &lt;STRONG&gt;not&lt;/STRONG&gt; a code but it is value in the &lt;STRONG&gt;Content-Type&lt;/STRONG&gt; field of the TLS record. In plain words, the wireshark is telling us that this is a TLS Alert protocol.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Message field&amp;nbsp;&amp;nbsp;is encrypted. The wireshark is not able to look further into this&amp;nbsp;Message field as it is encrypted. So, wireshark doesn't show the actual Message.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alert_Protocol" style="width: 943px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/14840iB6469F5A9CCFB3C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="TLS-record.jpg" alt="Alert_Protocol" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alert_Protocol&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is a possibility to decrypt the captures in wireshark.&amp;nbsp;&lt;A href="https://wiki.wireshark.org/SSL&amp;nbsp;" target="_blank"&gt;https://wiki.wireshark.org/SSL&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Prab &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 19:07:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ssl-content-type-alert-21/m-p/3417735#M876378</guid>
      <dc:creator>Prab</dc:creator>
      <dc:date>2018-07-18T19:07:34Z</dc:date>
    </item>
  </channel>
</rss>

