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.

Quick workaround:

  1.  vi ~jj/libs/DH_API/dreamhost.api.php
  2. find curl_setopt
  3. 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.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s