Skip to content

fix: set --openssldir=/etc/ssl so profiler finds system CA bundle#18

Merged
korniltsev-grafanista merged 1 commit intomainfrom
kk/fix-openssl-openssldir
Apr 3, 2026
Merged

fix: set --openssldir=/etc/ssl so profiler finds system CA bundle#18
korniltsev-grafanista merged 1 commit intomainfrom
kk/fix-openssl-openssldir

Conversation

@korniltsev-grafanista
Copy link
Copy Markdown
Collaborator

Without --openssldir, OpenSSL's compiled-in default cert search path is /usr/local/openssl/ssl (based on --prefix), which does not exist on user machines. SSL_CTX_set_default_verify_paths() found no CAs and all HTTPS profile uploads failed with "SSL server verification failed".

Setting --openssldir=/etc/ssl makes OpenSSL look in /etc/ssl/cert.pem and /etc/ssl/certs/, which are present on both Debian/Ubuntu and Alpine.

Same fix as grafana/pyroscope-dotnet@d5c4ca7

Without --openssldir, OpenSSL's compiled-in default cert search path is
/usr/local/openssl/ssl (based on --prefix), which does not exist on user
machines. SSL_CTX_set_default_verify_paths() finds no CAs and all HTTPS
profile uploads fail with "SSL server verification failed".

Same fix as grafana/pyroscope-dotnet@d5c4ca7

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@korniltsev-grafanista korniltsev-grafanista marked this pull request as ready for review April 3, 2026 04:44
@korniltsev-grafanista korniltsev-grafanista requested review from a team as code owners April 3, 2026 04:44
@korniltsev-grafanista korniltsev-grafanista merged commit f124c26 into main Apr 3, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants