<?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: Could not validate SPNEGO token.java.lang.Exception: Checksum error. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736653#M1581445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Wizard configuration can be handled via a keytab file, if you don't have keytab file then you have to supply all the values manually in SPNEGO wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can check with the klist command in &lt;STRONG&gt;CMD &lt;/STRONG&gt;to see if you are getting a ticket from the server where you have configured SPNEGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;klist&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;klist purge&lt;/STRONG&gt; - to clear out all the issued tickets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 16:04:02 GMT</pubDate>
    <dc:creator>former_member186495</dc:creator>
    <dc:date>2014-10-03T16:04:02Z</dc:date>
    <item>
      <title>Could not validate SPNEGO token.java.lang.Exception: Checksum error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736649#M1581441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello consultant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying configurated SSO usind SPNEGO  module&lt;/P&gt;&lt;P&gt;We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native&lt;/P&gt;&lt;P&gt;we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we have logged with user Active Directory and we try access to portal we obtain following error:&lt;/P&gt;&lt;P&gt;Authorization check user error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the&lt;/P&gt;&lt;P&gt;following steps:&lt;/P&gt;&lt;P&gt;1. Select "Component" = "security" and "Activity" = "all"&lt;/P&gt;&lt;P&gt;2. Click the "Go" button, followed by the "Add All" button&lt;/P&gt;&lt;P&gt;3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"&lt;/P&gt;&lt;P&gt;4. Click the "Go" button, followed by the "Add All" button&lt;/P&gt;&lt;P&gt;5. Start the tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5 &lt;/P&gt;&lt;P&gt;15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/EXCEPTION"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt; java.lang.Exception: Checksum error.&lt;/P&gt;&lt;P&gt;at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)&lt;/P&gt;&lt;P&gt;at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)&lt;/P&gt;&lt;P&gt;at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)&lt;/P&gt;&lt;P&gt;at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)&lt;/P&gt;&lt;P&gt;at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)&lt;/P&gt;&lt;P&gt;at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)&lt;/P&gt;&lt;P&gt;at java.security.AccessController.doPrivileged(AccessController.java:246)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)&lt;/P&gt;&lt;P&gt;at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)&lt;/P&gt;&lt;P&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)&lt;/P&gt;&lt;P&gt;at java.lang.reflect.Method.invoke(Method.java:391)&lt;/P&gt;&lt;P&gt;at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)&lt;/P&gt;&lt;P&gt;at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)&lt;/P&gt;&lt;P&gt;at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)&lt;/P&gt;&lt;P&gt;at java.security.AccessController.doPrivileged(AccessController.java:246)&lt;/P&gt;&lt;P&gt;at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)&lt;/P&gt;&lt;P&gt;at javax.security.auth.login.LoginContext.login(LoginContext.java:557)&lt;/P&gt;&lt;P&gt;at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)&lt;/P&gt;&lt;P&gt;at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)&lt;/P&gt;&lt;P&gt;at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)&lt;/P&gt;&lt;P&gt;at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)&lt;/P&gt;&lt;P&gt;at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)&lt;/P&gt;&lt;P&gt;at java.security.AccessController.doPrivileged(AccessController.java:246)&lt;/P&gt;&lt;P&gt;at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)&lt;/P&gt;&lt;P&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)&lt;/P&gt;&lt;P&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)&lt;/P&gt;&lt;P&gt;at com.sap.portal.navigation.Gateway.service(Gateway.java:126)&lt;/P&gt;&lt;P&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)&lt;/P&gt;&lt;P&gt;at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)&lt;/P&gt;&lt;P&gt;at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)&lt;/P&gt;&lt;P&gt;at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)&lt;/P&gt;&lt;P&gt;at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)&lt;/P&gt;&lt;P&gt;at java.security.AccessController.doPrivileged(AccessController.java:219)&lt;/P&gt;&lt;P&gt;at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)&lt;/P&gt;&lt;P&gt;at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help us?&lt;/P&gt;&lt;P&gt;Many thanks for your collaboration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 16:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736649#M1581441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-17T16:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Could not validate SPNEGO token.java.lang.Exception: Checksum error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736650#M1581442</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 SAP assumes that DES is used for encrypting token. I remember that since some release Microsoft disabled this old block cipher and it uses AES by default. There should be a note related to this issue. But it might be something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 22:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736650#M1581442</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2011-03-17T22:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Could not validate SPNEGO token.java.lang.Exception: Checksum error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736651#M1581443</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;The Checksum error usually means that there is a difference between the information in the token sent by the browser and the information in the SPNego configuration, so you will have to reconfigure your spnego again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend doing it from scratch, creating a new serivce user (don't select DES in this case because you are using the new add-on, It is supported but RC4 encryption will be the standard encryption with the modern OS's).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Then set the spn's (make sure they are unique to avoid issue's with ntml tokens)&lt;/P&gt;&lt;P&gt;- Create the keytab file (using ktpass from a 1.6 jdk)&lt;/P&gt;&lt;P&gt;- Then run the new wizard again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a KBA that should assist:[ 1568553 - Checksum error, Spnego add-on  |https://bosap-support.wdf.sap.corp/sap/support/notes/1568553]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Cathal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736651#M1581443</guid>
      <dc:creator>cathal_ohare</dc:creator>
      <dc:date>2011-04-05T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Could not validate SPNEGO token.java.lang.Exception: Checksum error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736652#M1581444</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;Could you please explain me what does this mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u201Cktab u2013a &amp;lt;principal_name&amp;gt;@&amp;lt;REALM&amp;gt; -k &amp;lt;keytab_file_name&amp;gt;u201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;principal_name&amp;gt; is the name of the service user or the j2ee server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened with the spnego wizzard configuration if I install the new one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jorge velasquez on Jun 1, 2011 2:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 18:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736652#M1581444</guid>
      <dc:creator>jorge_velasquez</dc:creator>
      <dc:date>2011-06-01T18:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Could not validate SPNEGO token.java.lang.Exception: Checksum error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736653#M1581445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Wizard configuration can be handled via a keytab file, if you don't have keytab file then you have to supply all the values manually in SPNEGO wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can check with the klist command in &lt;STRONG&gt;CMD &lt;/STRONG&gt;to see if you are getting a ticket from the server where you have configured SPNEGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;klist&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;klist purge&lt;/STRONG&gt; - to clear out all the issued tickets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 16:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/could-not-validate-spnego-token-java-lang-exception-checksum-error/m-p/7736653#M1581445</guid>
      <dc:creator>former_member186495</dc:creator>
      <dc:date>2014-10-03T16:04:02Z</dc:date>
    </item>
  </channel>
</rss>

