If you like me own a busy VPS at dreamhost, you probably already falling in love with JJ’s VPS manager, a tool to dynamically adjust server memory according server load.
Everything works OK until today I got SSL3_GET_SERVER_CERTIFICATE error.
CURL encountered an error. ‘SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed’
Because it happens on my two different VPSs, I doubt it’s Dreamhost API server problem. Google results turn out there is a way to ignore server certificate.
- vi ~jj/libs/DH_API/dreamhost.api.php
- find curl_setopt
- add the following 2 lines
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
Restart daemon, JJ seems happy now.
I know it’s not safe, if you know what’s happening on Dreamhost API server, please notify me to add those check back.