Changeset View
Changeset View
Standalone View
Standalone View
src/future/http/status/HTTPFutureCURLResponseStatus.php
| Show All 37 Lines | $map = array( | ||||
| 'you add the domain to `%s` on some other machine, but not this one?)', | 'you add the domain to `%s` on some other machine, but not this one?)', | ||||
| '/etc/hosts'), | '/etc/hosts'), | ||||
| CURLE_SSL_CACERT => pht( | CURLE_SSL_CACERT => pht( | ||||
| 'There was an error verifying the SSL Certificate Authority while '. | 'There was an error verifying the SSL Certificate Authority while '. | ||||
| 'negotiating the SSL connection. This usually indicates that you are '. | 'negotiating the SSL connection. This usually indicates that you are '. | ||||
| 'using a self-signed certificate but have not added your CA to the '. | 'using a self-signed certificate but have not added your CA to the '. | ||||
| 'CA bundle. See instructions in "%s".', | 'CA bundle. See instructions in "%s".', | ||||
| 'libphutil/resources/ssl/README'), | 'arcanist/resources/ssl/README'), | ||||
| // Apparently there's no error constant for this? In cURL it's | // Apparently there's no error constant for this? In cURL it's | ||||
| // CURLE_SSL_CACERT_BADFILE but there's no corresponding constant in | // CURLE_SSL_CACERT_BADFILE but there's no corresponding constant in | ||||
| // PHP. | // PHP. | ||||
| 77 => pht( | 77 => pht( | ||||
| 'The SSL CA Bundles that we tried to use could not be read or are '. | 'The SSL CA Bundles that we tried to use could not be read or are '. | ||||
| 'not formatted correctly.'), | 'not formatted correctly.'), | ||||
| CURLE_SSL_CONNECT_ERROR => pht( | CURLE_SSL_CONNECT_ERROR => pht( | ||||
| 'There was an error negotiating the SSL connection. This usually '. | 'There was an error negotiating the SSL connection. This usually '. | ||||
| 'indicates that the remote host has a bad SSL certificate, or your '. | 'indicates that the remote host has a bad SSL certificate, or your '. | ||||
| 'local host has some sort of SSL misconfiguration which prevents it '. | 'local host has some sort of SSL misconfiguration which prevents it '. | ||||
| 'from accepting the CA. If you are using a self-signed certificate, '. | 'from accepting the CA. If you are using a self-signed certificate, '. | ||||
| 'see instructions in "%s".', | 'see instructions in "%s".', | ||||
| 'libphutil/resources/ssl/README'), | 'arcanist/resources/ssl/README'), | ||||
| CURLE_OPERATION_TIMEOUTED => pht( | CURLE_OPERATION_TIMEOUTED => pht( | ||||
| 'The request took too long to complete.'), | 'The request took too long to complete.'), | ||||
| CURLE_SSL_PEER_CERTIFICATE => pht( | CURLE_SSL_PEER_CERTIFICATE => pht( | ||||
| 'There was an error verifying the SSL connection. This usually '. | 'There was an error verifying the SSL connection. This usually '. | ||||
| 'indicates that the remote host has an SSL certificate for a '. | 'indicates that the remote host has an SSL certificate for a '. | ||||
| 'different domain name than you are connecting with. Make sure the '. | 'different domain name than you are connecting with. Make sure the '. | ||||
| Show All 17 Lines | |||||