<?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>question Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244103#M205898</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Sampath Kumar"&gt;@Sampath Kumar&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I think there is a mismatch in the encryption types in your &lt;STRONG&gt;krb5.conf &lt;/STRONG&gt;and the &lt;STRONG&gt;AD&lt;/STRONG&gt;. Have a look at the below document and align your config.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://blogs.msdn.microsoft.com/openspecification/2011/05/30/windows-configurations-for-kerberos-supported-encryption-type/" target="_blank"&gt; Windows Configurations for Kerberos Supported Encryption Types &lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH &lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Feb 2019 21:33:36 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-02-09T21:33:36Z</dc:date>
    <item>
      <title>Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244102#M205897</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;[Ambari 2.7.3, HDP 3.1]&lt;BR /&gt;In Active Directory Kerberized environment, I'm getting below issue when I try to access Namenode UI, RM UI and Job histroy UI from Ambari&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;HTTP ERROR 403
problem accessing /index.html. Reason:
GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96)&lt;/PRE&gt;&lt;P&gt;krb5.conf:&lt;/P&gt;&lt;PRE&gt;  max_life = 30d
  default_tgs_enctypes = aes128-cts arcfour-hmac-md5 des-cbc-crc des-cbc-md5 des-hmac-sha1 aes256-cts
  default_tkt_enctypes = aes128-cts arcfour-hmac-md5 des-cbc-crc des-cbc-md5 des-hmac-sha1 aes256-cts
  permitted_enctypes = aes256-cts-hmac-sha1-96 des3-cbc-sha1 arcfour-hmac-md5 des-cbc-crc des-cbc-md5 des-cbc-md4
  allow_weak_crypto = yes&lt;/PRE&gt;&lt;P&gt;klist:&lt;/P&gt;&lt;PRE&gt;$ls -lrt /etc/security/keytabs/spnego.service.keytab
-r--r-----. 1 root hadoop 433 Feb  9 11:59 /etc/security/keytabs/spnego.service.keytab

$klist -ket /etc/security/keytabs/spnego.service.keytab
Keytab name: FILE:/etc/security/keytabs/spnego.service.keytab
KVNO Timestamp           Principal
---- ------------------- ------------------------------------------------------
   0 02/09/2019 07:40:04 HTTP/hostname_fqdn@realm (arcfour-hmac)
   0 02/09/2019 07:40:04 HTTP/hostname_fqdn@realm (des-cbc-md5)
   0 02/09/2019 07:40:04 HTTP/hostname_fqdn@realm (aes256-cts-hmac-sha1-96)
   0 02/09/2019 07:40:04 HTTP/hostname_fqdn@realm (des3-cbc-sha1)
   0 02/09/2019 07:40:04 HTTP/hostname_fqdn@Crealm (aes128-cts-hmac-sha1-96)&lt;/PRE&gt;&lt;P&gt;kinit:&lt;/P&gt;&lt;PRE&gt;$kinit -kt /etc/security/keytabs/spnego.service.keytab $(klist -kt /etc/security/keytabs/spnego.service.keytab|sed -n "4p"|cut -d" " -f7)
# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: HTTP/hostname_fqdn@realm

Valid starting       Expires              Service principal
02/09/2019 12:53:05  02/09/2019 22:53:05  krbtgt/realm@realm
        renew until 02/16/2019 12:53:05&lt;/PRE&gt;&lt;P&gt;I have re-generated the spnego keytab in all the hosts from ambari UI but did not help.&lt;/P&gt;&lt;P&gt;Would you please help this.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 21:20:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244102#M205897</guid>
      <dc:creator>sampathkumar_ma</dc:creator>
      <dc:date>2019-02-09T21:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244103#M205898</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Sampath Kumar"&gt;@Sampath Kumar&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I think there is a mismatch in the encryption types in your &lt;STRONG&gt;krb5.conf &lt;/STRONG&gt;and the &lt;STRONG&gt;AD&lt;/STRONG&gt;. Have a look at the below document and align your config.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://blogs.msdn.microsoft.com/openspecification/2011/05/30/windows-configurations-for-kerberos-supported-encryption-type/" target="_blank"&gt; Windows Configurations for Kerberos Supported Encryption Types &lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 21:33:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244103#M205898</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-02-09T21:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244104#M205899</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I have updated the krb5.conf with the below properties&lt;/P&gt;&lt;PRE&gt;# grep "enctypes" /etc/krb5.conf
 default_tgs_enctypes= des3-cbc-sha1 aes256-cts-hmac-sha1-96 arcfour-hmac aes128-cts-hmac-sha1-96 des-cbc-md5
 default_tkt_enctypes = des3-cbc-sha1 aes256-cts-hmac-sha1-96 arcfour-hmac aes128-cts-hmac-sha1-96 des-cbc-md5&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;# klist -aef
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: HTTP/hostname_fqdn@realm
Valid starting       Expires              Service principal
02/09/2019 14:44:22  02/10/2019 00:44:22  krbtgt/realm@realm
        renew until 02/16/2019 14:44:22, Flags: FRIA
        Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96
        Addresses: (none)
&lt;/PRE&gt;&lt;P&gt;I don't have access to check the encryption types mapped in AD server. &lt;/P&gt;&lt;P&gt;Is there any way I can check this from my linux host?&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 23:01:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244104#M205899</guid>
      <dc:creator>sampathkumar_ma</dc:creator>
      <dc:date>2019-02-09T23:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244105#M205900</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/questions/239955/@Sampath%20Kumar" rel="nofollow noopener noreferrer" target="_blank"&gt;@Sampath Kumar&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ask your AD admin &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="103436-mit.png" style="width: 844px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13405i09399CE0E541578D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="103436-mit.png" alt="103436-mit.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The above should match the krb5.conf &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 21:37:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244105#M205900</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-08-17T21:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244106#M205901</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;I have set the below two properties in core-site.xml from Ambari. Now, NN, RM and History server UI is working fine.&lt;/P&gt;&lt;PRE&gt;hadoop.http.authentication.simple.anonymous.allowed=true
hadoop.http.authentication.type=simple&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 14:17:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244106#M205901</guid>
      <dc:creator>sampathkumar_ma</dc:creator>
      <dc:date>2019-02-11T14:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244107#M205902</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/239955/@Sampath%20Kumar"&gt;@Sampath Kumar&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;So you have disabled Kerberos for HTTP web-consoles was that intentional on a kerberized cluster or just a workaround?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 15:03:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244107#M205902</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-02-11T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244108#M205903</link>
      <description>&lt;P&gt;It's just a workaround &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 23:20:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244108#M205903</guid>
      <dc:creator>sampathkumar_ma</dc:creator>
      <dc:date>2019-02-11T23:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244109#M205904</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/239955/@Sampath%20Kumar"&gt;@Sampath Kumar&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you are interested to resolve the issue then try out match the encryption types and tag me if  need be?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 23:26:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244109#M205904</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-02-11T23:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244110#M205905</link>
      <description>&lt;P&gt;okay sure &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;, will talk to AD team on this and let you know the status. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 04:30:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244110#M205905</guid>
      <dc:creator>sampathkumar_ma</dc:creator>
      <dc:date>2019-02-14T04:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96 while starting NN, RM &amp; History Server UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244111#M205906</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/239955/@Sampath%20Kumar"&gt;@Sampath Kumar&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 05:13:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-find-key-of-appropriate-type-to-decrypt-AP-REP-AES256/m-p/244111#M205906</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-02-14T05:13:33Z</dc:date>
    </item>
  </channel>
</rss>

