On 2013-03-02 01:28, Jérôme Pinot wrote:
> On 03/01/13 11:50, Jérémy Zurcher wrote:
>> hi,
>>
>> I followed https://phab.enlightenment.org/w/arcanist/
>> but I have a certificate issue
>>
>> Usage Exception: Failed to connect to server: [cURL/60]
>> (https://phab.enlightenment.org/api/conduit.ping) <CURLE_SSL_CACERT> 
>> ...
>>
>> following ~/arcanist/libphutil/resources/ssl/README, I did:
>>
>> openssl s_client -connect phab.enlightenment.org:443 2>&1 |
>> sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' >
>> ~/arcanist/libphutil/resources/ssl/custom.pem
>>
>> still the same...
>>
>> openssl x509 -text -in custom.pem
>> tells me that the certificate is issued for enlightenment.org
>> not phab.enlightenment.org
>>
>> could it be the root of this boring pain ??
>
> Hi,
>
> You just need the CAcert root certificate:
> $ cd libphutil/resources/ssl
> $ wget http://www.cacert.org/certs/root.txt -O custom.pem

You also may need the Class3 intermediate certificate : 
http://www.cacert.org/certs/class3.crt :

$ curl -s http://www.cacert.org/certs/root.crt 
http://www.cacert.org/certs/class3.crt > 
libphutil/resources/ssl/custom.pem

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to