Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to decode certificate #1081

Open
lavis11 opened this issue Apr 15, 2024 · 0 comments
Open

failed to decode certificate #1081

lavis11 opened this issue Apr 15, 2024 · 0 comments

Comments

@lavis11
Copy link

lavis11 commented Apr 15, 2024

Description

I am trying to install Kafka with SSL listeners.
I have created the certificates and jks. when i try to install kafka, kafka cluster is not coming up. i get the below error in koperator logs

"error":"failed to decode certificate, secretName: vxkafka-server-certificate: got invalid magic"

{"level":"info","ts":"2024-04-15T09:31:58.005Z","msg":"failed to decode certificate, secretName: kafka-server-certificate: got invalid magic","controller":"KafkaCluster","controllerGroup":"kafka.banzaicloud.io","controllerKind":"KafkaCluster","KafkaCluster":{"name":"kafka","namespace":"kafka"},"namespace":"kafka","name":"kafka","reconcileID":"1ea1eacb-e3ec-4220-85fb-66e51c62ffdc"} '

secrets

Name: vxkafka-controller
Namespace: kafka
Labels:
Annotations:

Type: Opaque

Data
ca.crt: 1399 bytes
keystore.jks: 4917 bytes
password: 6 bytes
tls.crt: 1277 bytes
tls.key: 1704 bytes
truststore.jks: 1282 bytes

Name: vxkafka-server-certificate
Namespace: kafka
Labels:
Annotations:

Type: Opaque

Data
ca.crt: 1399 bytes
keystore.jks: 5509 bytes
password: 6 bytes
tls.crt: 2167 bytes
tls.key: 1704 bytes
truststore.jks: 1282 bytes

Affected Version

cert-manager 1.14.2
kafka-operator 0.25.1
kafka 2.13-3.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant