What changed, and why it matters
This commit changes a Linux build Dockerfile so that OpenSSL is configured to look for certificate files in the standard system folder (/etc/ssl) instead of a non-standard path inside the build environment. This is a build-system workaround, not a fix to the Monero wallet or daemon itself. It likely prevents build failures or runtime certificate errors when the compiled software tries to verify HTTPS/TLS connections, but it does not patch an active vulnerability in shipped code.
Treat as a low-risk build-hygiene change. Verify that resulting Linux binaries use the intended OpenSSL configuration and can validate TLS certificates against the host's /etc/ssl store. Monitor upstream depends for a permanent fix so the sed workaround can be removed.
Security signals we found
OpenSSL certificate path changed from non-standard to standard /etc/ssl
Build-time workaround in dependency build script
No source-code changes to wallet, daemon, or consensus logic
No mention of CVE, vulnerability, or security advisory in commit message
Evidence from the diff
The Dockerfile.linux patch edits /depends/packages/openssl.mk before building dependencies. It replaces the openssldir value from $(host_prefix)/etc/openssl to /etc/ssl. This affects where OpenSSL expects its default CA certificate directory at runtime. The change is labeled as a TODO workaround, suggesting it is a temporary build fix rather than a fully resolved upstream issue. The commit does not modify Monero GUI source code, consensus logic, cryptography, or network protocol handling.
Changed components
Dockerfile.linuxOpenSSL dependency build configuration in depends systemInspect captured patch +3 / −1
### Dockerfile.linux
@@ -29,7 +29,9 @@ RUN git clone -b v0.18.5.1 --depth 1 https://github.com/monero-project/monero &&
cd .. && \
rm -rf monero
-RUN make -j"$THREADS" -C /depends HOST=x86_64-linux-gnu
+# TODO: Remove this workaround once a better solution is found.
+RUN sed -i 's|--openssldir=$(host_prefix)/etc/openssl|--openssldir=/etc/ssl|' /depends/packages/openssl.mk && \
+ make -j"$THREADS" -C /depends HOST=x86_64-linux-gnu
# Use the pinned upstream CMake binary without changing the compiler or glibc
# baseline. The Linux x86_64 binaries require glibc 2.17 or newer.Why this scored 26/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.