nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh, B (Nokia - IN/Bangalore)" <b.gan...@nokia.com>
Subject Nifi with kerberos(kdc) is not working in Nifi 1.11.4
Date Fri, 17 Apr 2020 10:13:54 GMT
Hi ,

I am facing issue with Nifi 1.11.4  in Kerberos mode  , whereas nifi 1.9.2 not seeing this
issue .
I am using kdc version as 2.2.5

Can anybody help me on this ?

REST call to 'https://10.75.156.102:30088/nifi-api/flow/client-id  is failed with below error

java.lang.IllegalArgumentException: The supplied username and password are not valid.}. Returning
Bad Request} response."}
java.lang.IllegalArgumentException: The supplied username and password are not valid.
        at org.apache.nifi.web.api.AccessResource.createAccessToken(AccessResource.java:735)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.apache.nifi.authentication.exception.InvalidLoginCredentialsException: Kerberos
authentication failed
        ... 84 common frames omitted
Caused by: org.springframework.security.authentication.BadCredentialsException: Kerberos authentication
failed
        at org.springframework.security.kerberos.authentication.sun.SunJaasKerberosClient.login(SunJaasKerberosClient.java:66)
        ... 86 common frames omitted
Caused by: javax.security.auth.login.LoginException: Cannot locate KDC
        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:782)
.java:59)
        ... 88 common frames omitted
Caused by: sun.security.krb5.KrbException: Cannot locate KDC
        at java.security.jgss/sun.security.krb5.Config.getKDCList(Config.java:1259)

        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:744)
        ... 96 common frames omitted
Caused by: sun.security.krb5.KrbException: Generic error (description in e-text) (60) - Unable
to locate KDC for realm NIFI.COM
        at java.security.jgss/sun.security.krb5.Config.getKDCFromDNS(Config.java:1356)
        at java.security.jgss/sun.security.krb5.Config.getKDCList(Config.java:1232)
        ... 101 common frames omitted






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message