Homec4science

Improve SSL error message for cURL error 51 (CURLE_SSL_PEER_CERTIFICATE /…

Authored by epriestley <git@epriestley.com> on Mar 12 2012, 19:38.

Description

Improve SSL error message for cURL error 51 (CURLE_SSL_PEER_CERTIFICATE / CURLE_PEER_FAILED_VERIFICATION)

Summary:
If you self-sign a certificate and follow the instructions, you may end up getting hit with this because you signed the cert for the wrong domain. Provide better error text.

See: https://github.com/facebook/phabricator/issues/98

Test Plan: Self-signed a certificate, installed it in apache, much song and dance, resolved the error, got a valid self-signed CA working.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1857

Details

Committed
epriestley <git@epriestley.com>Mar 12 2012, 19:38
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU667a0890cd8e: Fixing a typo in libphutil
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU9be36db7f574: Improve SSL error message for cURL error 51 (CURLE_SSL_PEER_CERTIFICATE /… (authored by epriestley <git@epriestley.com>).Mar 12 2012, 19:38