Schema Registry Pod cannot start because of an invalid SSL certificateΒΆ

Symptoms: Sasquatch Schema Registry pod cannot start and ends up in CrashLoopBackOff state. Kafka brokers show an org.apache.kafka.common.errors.SslAuthenticationException.

Cause: The Schema Registry Operator cannot recreate its JKS secret when Strimzi rotates the cluster certificates.

Solution: Use this procedure in Argo CD to force Schema Registry Operator to create the JKS secret:

  • Delete the strimzischemaregistry resource called sasquatch-schema-registry

  • Restart the deployment resource called strimzi-registry-operator

  • Re-sync the strimzischemaregistry resource called sasquatch-schema-registry