neillturner / ec2dream

Build and Manage Cloud Servers - Agile DevOps for the Cloud
http://ec2dream.blogspot.com
20 stars 3 forks source link

SSL Error running librarian puppet #3

Closed neillturner closed 10 years ago

neillturner commented 10 years ago

when using test-kitchen with puppet and when running librarian puppet:

if get error: Class: Faraday::SSLError Message: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

see http://stackoverflow.com/questions/4528101/ssl-connect-returned-1-errno-0-state-sslv3-read-server-certificate-b-certificat and for windows client see https://gist.github.com/fnichol/867550

basically need to download a cacert.pem file and before running ec2dream set SSL_CERT_FILE=C:/directoryoffile/cacert.pem

neillturner commented 10 years ago

closing - this is just to document an error running librarian-puppet and the solution