Questions tagged [sasl]

SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.

424 questions
1
vote
0 answers

Python DIGEST-MD5 SASL failures

Implementing Digest-MD5 in Python. Trying to get a basic idea of how it works, so I knocked up some quick code to take a look. It seems to work and seems to be aligned with the RFC but I always just get "Failure" messages. Here is my code: nonce…
Dan
  • 240
  • 5
  • 16
0
votes
0 answers

Is there a Python package that connects to Hive on AWS with SSO and MFA?

First time asking a question on here, though I've benefitted from the wisdom and knowledge of the community for some time. I am working in an AWS based environment where we've been provided with Python3 kernel in JupyterHub with Postgresql and Hive…
0
votes
0 answers

The broker does not support the requested SASL mechanism

I have an MSK cluster in which i have used AWS IAM authentication .When i am telnet to the broker:9098, the broker gets connected .But when am passing the same broker:9098 in a node app's kafka producer code, it shows "The broker does not support…
ashique
  • 935
  • 2
  • 8
  • 26
0
votes
0 answers

Apache Kafka SASL_SSL configure failure ( ERROR SASL authentication failed using login context 'Client'.)

I want to set up Kafka with SASL_SSL in a docker enviroment kafka should be albe to recives message encrypted over the puplic internet in addition, telegraf grafana and more are used in the backend everything runs flawlessly only the zookeeper and…
0
votes
0 answers

Sasl.login vs sasl.client callback Handler class

I'm working with SASL_SSL in a Kafka Cluster and I am trying to configure some clients to get a token from an OAuth server. I've managed to setup my configs, however I hit a wall when faced with 2 options for my callback handlers. You see, there's 2…
0
votes
0 answers

Using Debezium to connect to Secured Kafka

I am trying to set up a Debezium Kafka Connect in a Kubernetes cluster, that connects with an external Kafka that is protected by a Keycloak, which functions as it OAUTH BEARER. In my Kubernetes deployment, I am able to give certain environment…
0
votes
0 answers

vector.dev - connecting to kafka usins SASL/SSL

i want to transform a spark pipeline into a vector.dev pipeline, so that i can benchmark the efficiency of both agents. with spark i can connect to kaka using sasl/ssl with the following code, but i can't find the same options in vector.dev…
Ghassen Sultana
  • 1,223
  • 7
  • 18
0
votes
0 answers

Zookeeper to Kafka SASL with encryption

I have implemented authentication using SASL(with TLS encryption) between zookeeper and kafka broker. However, when I am trying to connect to kafka server, I am getting an error. The error is : ERROR Fatal error during KafkaServer startup. Prepare…
0
votes
0 answers

Is there any example of connecting from spark structured to kafka using sasl oauthbearer mechanism

I have to connect to spring kafka from spark structued streaming program using a sasl_ssl/oauthbearer mechanism. I will receive the token from inhouse adsf portal. I have been trying to find an example or detailed mechanism of how this integration…
0
votes
1 answer

Kafka Broker Failed Authentication - invalid credentials

For the last day or so I have trying to setup locally using confluent docker images, Kafka cluster with one node. Unfortunately, haven't been able to do so. Below are all my config files: /etc/kafka/secrets/zookeeper_server_jaas.conf Server { …
stosik
  • 43
  • 5
0
votes
1 answer

Could not find a 'KafkaServer' entry in the JAAS configuration error

When setting up Kafka with SASL_PLAINTEXT authentication, I am getting I did come across Kafka Server - Could not find a 'KafkaServer' in JAAS and Unable to start Kafka Server using SASL_PLAINTEXT authentication but the answers in them didn't work…
abhiramd
  • 116
  • 7
0
votes
1 answer

Configure kafka producer SASL_JAAS_CONFIG error when using env variables

Hello i have the following config to produce to topic with spring batch app: Map configProps = new HashMap<>(); configProps.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG,bootstrapServers); …
0
votes
1 answer

NodeJS connect to Confluent Cloud Kafka using openID with SASL extension

I'm trying to connect to a Confluent Cloud Kafka server which is configured with OpenID identity provider using NodeJS. see:…
Daniel
  • 2,288
  • 1
  • 14
  • 22
0
votes
1 answer

Access two different RootDN with Single Admin Kerberos Principal

as an admin, I've been trying to make 2 different RootDN accounts login with a single kerberos account lately. I have two different rootDN and password -D "cn=admin,cn=config" -D "cn=admin,dc=example,dc=com" when I login via Kerberos like; kinit…
Ichigo Kurosaki
  • 135
  • 1
  • 6
0
votes
1 answer

Unable to bind to server: Not Supported when doing ldap_sasl_bind()

I am trying to connect and bind to an AD using ldap_sasl_bind() but I get: warning: 2 :: ldap_sasl_bind(): Unable to bind to server: Not Supported I have confirmed using ldapsearch I can connect and get users from AD using a kerberos ticket stored…
ajibarra
  • 58
  • 1
  • 5