Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

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 2 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
share|improve this answer
    
Work perfect :) thanks –  redn0x Sep 8 '11 at 20:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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