diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-07-26 22:58:05 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-07-26 23:03:50 +0200 |
commit | 9bbd9981dedbb9d074733aab2ab7c27ac8245a7d (patch) | |
tree | 52f0cc65a1611acde4914980a699cdbaf071be78 | |
parent | 9275d3e7ce232528131e724829d0bca4a858b848 (diff) |
Add NetBSD default path for CA certificate bundle
In NetBSD the default CA certificate bundle for OpenSSL is located at
/etc/openssl/certs/ca-certificates.crt, so we include it in the default
search list so it works out of the box.
See: https://man.netbsd.org/certctl.8#FILES
See: https://wiki.netbsd.org/certctl-transition/
-rw-r--r-- | src/IO/tls_openssl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IO/tls_openssl.c b/src/IO/tls_openssl.c index 9098287a..3ba2856c 100644 --- a/src/IO/tls_openssl.c +++ b/src/IO/tls_openssl.c @@ -8,7 +8,7 @@ * (for the certificate hostname checking from wget) * Copyright (C) 2011 Benjamin Johnson <obeythepenguin@users.sourceforge.net> * (for the https code offered from dplus browser that formed the basis...) - * Copyright (C) 2023-2024 Rodrigo Arias Mallo <rodarima@gmail.com> + * Copyright (C) 2023-2025 Rodrigo Arias Mallo <rodarima@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -215,6 +215,7 @@ static void Tls_load_certificates(void) "/usr/share/ssl/certs/ca-bundle.crt", "/usr/local/share/certs/ca-root.crt", "/etc/ssl/cert.pem", + "/etc/openssl/certs/ca-certificates.crt", CA_CERTS_FILE }; |