Not sure if this will resolve this particular issue, but the same error in a different context was resolved by switching the SSL backend in curl to Apple native Secure Transport by setting CURL_SSL_BACKEND=SecureTransport.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: