I'm trying to install an Ubuntu cloud on my home network - I've been following this guide.

When I arrived at STEP 6: Install an image from the store PART 3: Click on the Store tab I get the following error message on the page:

Error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

There seems to be something wrong with the certificate but I have no idea how to solve this, help is really appreciated.

link|improve this question
feedback

migrated from stackoverflow.com Aug 24 '11 at 15:00

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 1 down vote accepted

Quick and insecure fix WARNING: the change disables certificate validation. Use at your own risk!!

Until PycURL is fixed you can edit file /usr/lib/python2.7/dist-packages/imagestore/lib/fetch.py on fetch method after the line 142 add

curl.setopt(pycurl.SSL_VERIFYPEER, 0)
curl.setopt(pycurl.SSL_VERIFYHOST, 0)

Restart the image-store-proxy

And also update godaddy certificates for wget and alike:

sudo wget -P /usr/local/share/ca-certificates/ --no-check-certificate   
https://certs.godaddy.com/repository/gd-class2-root.crt https://certs.godaddy.com/repository/gd_intermediate.crt https://certs.godaddy.com/repository/gd_cross_intermediate.crt
sudo  update-ca-certificates
link|improve this answer
Work perfect :) thanks – redn0x Sep 8 '11 at 20:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.