-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Uploading certificates causes failure in TrustManager/KeyManager because of bad MIME-type #22626
Comments
We're seeing:
when using
which makes me think that the same mime-type issue exists for the client certificate. We're seeing:
when using
which makes me believe the root cert is being saved correctly. |
I built a repro environment that uses Postgres 14 but only accepts certs to authenticate (via pg_hba.conf):
click Save and see the error |
Describe the bug
Followup on #20319, which might have set the certificate validation too strict.
This is getting close to a P1, since there has been multiple fixes across multiple versions.
To Reproduce
verify-ca
orverify-full
Loading the SSL root certificate /tmp/metabase-secret_18327666861552528118.tmp into a TrustManager failed.
...,"ssl-root-cert-value":"data:application/pkix-cert;base64,...
...,"ssl-root-cert-value":"data:application/x-x509-ca-cert;base64,...
and resend, then it save successfully.Expected behavior
Information about your Metabase Installation:
Tested 0.42.4, 0.43.0
The text was updated successfully, but these errors were encountered: