---
import std.net.curl;
void main() { "https://issues.dlang.org".get; }
// std.net.curl.CurlException@std/net/curl.d(4402): SSL peer certificate or SSH remote key was not OK on handle 56397DB61CE0
---
Exception is thrown when running on Ubuntu 21.10, but not when on 20.04. As the same version of ca-certificates is installed on both set-ups, that might mean the issue arises due to a change between openssl 1.1.1f and 1.1.1l.
The only problematic thing I can see at a glance is that this site's certs aren't correctly installed. SSLlabs reports:
- Chain issues: Incorrect order, Extra certs.
Comment #1 by robert.schadek — 2024-12-15T15:27:24Z