failed to decode certificate
lavis11 opened this issue · 0 comments
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