Member since
11-08-2023
1
Post
0
Kudos Received
0
Solutions
11-08-2023
03:55 PM
I am trying to write the Producer code with SSL security. I have copied the keytab file to be local env. The code is working in Java but in SCALA it gives the error : Key for the principal <> not available in <> [Krb5LoginModule] authentication failed This is the conf: KafkaClient{ com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="<<location of keytab>>" storeKey=true useTicketCache=false serviceName=gfolynck principal="gfolygru/bdnyr008x05h5.nam.nsroot.net" client=true javax.security.auth.useSubjectCredsOnly=true debug=true; }; I tried all different ways , but the above error still persists. Any solution
... View more