Assistance with 401 Unauthorized Error for API Access

Thanks for the details. It looks like this, but the strange thing is that there shouldn’t be a problem even if you don’t specify it in particular, and it doesn’t look like an SSL error from the message content…

Adding a header “Connection: close” to your CURL command should solve the problem:
curl -v -H “Connection: close” https://example.com