Replies: 2 comments
-
|
This is not a glibc or Rocky Linux issue. The difference you’re seeing is due to rustls vs OpenSSL. The glibc build uses rustls, which does not trust system or Docker CA stores by default, so self-signed / private CAs will fail TLS verification (Postgres and RustFS S3 in your case).The musl build works because it relies on OpenSSL, which automatically uses the OS CA bundle. To fix this, you’ll need to explicitly provide your custom CA to the application (for rustls), or use a build that relies on native TLS (OpenSSL). Simply adding the CA to the Docker image is not sufficient for rustls. |
Beta Was this translation helpful? Give feedback.
-
|
So i got it to work without parsing my CA, with docker container:
in-regards to using the binary, i get glib errors. Rocky Linux uses version 2.34 in Rocky linux 9 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am unable to use the Glib binary cause Rocky Linux 9 uses v2.34 and i am trying to use full chain uri connection to an external postgres server and also for rustfs s3, but the container fails the tls check cause i am using selfsigned full chain certs. Is there an env or location for docker setup that i can make it trust my CA. Btw i used the same settings for musl binary and it works, its just rustls and docker that wont accept the CA.
Beta Was this translation helpful? Give feedback.
All reactions