Topic
  • 3 replies
  • Latest Post - ‏2013-02-15T23:53:02Z by SystemAdmin
bwa
bwa
52 Posts

Pinned topic SPNEGO: java.lang.IllegalArgumentException: Null key

‏2008-09-19T13:08:18Z |
Hello All. I have tried to configure SPNEGO with my WAS 6.1.0.17 and it looks quite straightforward. After finishing the whitepaper http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101065

I have startet ut the server end gets the following message:
9/19/08 14:57:07:470 CEST 0000000a SystemOut O KRB_DBG_KTAB KeyTab:main: >>> KeyTab: load() entry length: 64
9/19/08 14:57:07:470 CEST 0000000a SystemOut O KRB_DBG_KTAB KeyTableInputStream:main: >>> KeyTabInputStream, readName(): KLP.NO
9/19/08 14:57:07:470 CEST 0000000a SystemOut O KRB_DBG_KTAB KeyTableInputStream:main: >>> KeyTabInputStream, readName(): HTTP
9/19/08 14:57:07:470 CEST 0000000a SystemOut O KRB_DBG_KTAB KeyTableInputStream:main: >>> KeyTabInputStream, readName(): klpwas61t2.klp.no
9/19/08 14:57:07:486 CEST 0000000a SystemOut O KRB_DBG_KDC Credentials:main: >>> Credentials.getServiceCreds exception: java.lang.IllegalArgumentException: Null key
9/19/08 14:57:07:517 CEST 0000000a ServerCredent E com.ibm.ws.security.spnego.ServerCredential initialize CWSPN0014E: An exception occurred during Kerberos initialization. Failure: org.ietf.jgss.GSSException, major code: 11, minor code: 0
major string: General failure, unspecified at GSSAPI level
minor string: Cannot get credential for principal service HTTP/klpwas61t1.klp.no@KLP.NO.
It's really hard to guess what's actually missing here.

Any clue out there ?

Bjørn-Willy Arntzen
KLP Insurance, Norway
Updated on 2013-02-15T23:53:02Z at 2013-02-15T23:53:02Z by SystemAdmin
  • iamjry
    iamjry
    1 Post

    Re: SPNEGO: java.lang.IllegalArgumentException: Null key

    ‏2010-07-28T11:45:55Z  
    Hi,
    I got the same problem with my WAS 6.1.0.31

    Did you get the answer?

    Any one with any help will be welcome.

    Thanks

    Jerry
  • infyniti
    infyniti
    215 Posts

    Re: SPNEGO: java.lang.IllegalArgumentException: Null key

    ‏2010-07-28T15:57:37Z  
    • iamjry
    • ‏2010-07-28T11:45:55Z
    Hi,
    I got the same problem with my WAS 6.1.0.31

    Did you get the answer?

    Any one with any help will be welcome.

    Thanks

    Jerry
    Does keytab file contain entries for each TAI configured in WAS. If the keytab file does not have the hostname which is configured as TAI you would get this error.

    Anant
  • SystemAdmin
    SystemAdmin
    37422 Posts

    Re: SPNEGO: java.lang.IllegalArgumentException: Null key

    ‏2013-02-15T23:53:02Z  
    • infyniti
    • ‏2010-07-28T15:57:37Z
    Does keytab file contain entries for each TAI configured in WAS. If the keytab file does not have the hostname which is configured as TAI you would get this error.

    Anant
    I am getting the below error
    CWSPN0014E: An exception occurred during Kerberos initialization. Failure: org.ietf.jgss.GSSException,

    SSO using SPNEGO is not working.

    Does any one know the problem?