You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On deployment, the operator crashed with an OpenSSL FIPS error during SCRAM credential generation.
What did you expect?
The operator should successfully generate SCRAM credentials and bring up a functional MongoDB replica set with TLS and authentication enabled.
What happened instead?
The operator panicked while generating credentials using MD5, which is disallowed in FIPS mode. This caused the controller to crash with OpenSSL EVP_DigestInit_ex errors.
Additional context
To work around this, we patched the operator code to use SHA-256 instead of MD5 in SCRAM credential generation. TLS and authentication then worked as expected under FIPS mode.
The text was updated successfully, but these errors were encountered:
What did you do to encounter the bug?
Steps to reproduce the behavior:
MongoDBCommunity
resource with TLS and SCRAM-SHA-256 enabled:What did you expect?
The operator should successfully generate SCRAM credentials and bring up a functional MongoDB replica set with TLS and authentication enabled.
What happened instead?
The operator panicked while generating credentials using MD5, which is disallowed in FIPS mode. This caused the controller to crash with OpenSSL
EVP_DigestInit_ex
errors.Relevant Logs
Operator Information
Kubernetes Cluster Information
Additional context
To work around this, we patched the operator code to use SHA-256 instead of MD5 in SCRAM credential generation. TLS and authentication then worked as expected under FIPS mode.
The text was updated successfully, but these errors were encountered: