auto response = std.net.curl.get("http://website.com/api/blah");

I'm getting this:
First-chance exception: std.net.curl.CurlException Peer certificate cannot be authenticated with given CA certificates on handle 8C5090 at std\net\curl.d(3504)

Even on non-SSL connections. Am I being redirected?
And why does curl crash when it encounters HTTPS anyway?

Surely it should be ideal if it 'just worked'?