From 9bbd9981dedbb9d074733aab2ab7c27ac8245a7d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sat, 26 Jul 2025 22:58:05 +0200 Subject: 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/ --- src/IO/tls_openssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 * (for the https code offered from dplus browser that formed the basis...) - * Copyright (C) 2023-2024 Rodrigo Arias Mallo + * Copyright (C) 2023-2025 Rodrigo Arias Mallo * * 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 }; -- cgit v1.2.3