Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Omnibus Chef

labria edited this page Mar 17, 2013 · 4 revisions

Then using big-panda gem with chef installed using Omnibus.

You can get flowing exception:

Faraday::Error::ConnectionFailed: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

This happens because the Omnibus installer has a embedded OpenSSL library, which misses the root certificates. And it also has a bug making it ignore the openssl ca_path option.

The solution is to use the Mozilla root certificates in pem format.

You can download it from here: http://curl.haxx.se/docs/caextract.html

Example:

 $ wget http://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
panda = BigPanda::Client.new(access_token: 'my-access-token', ssl: {ca_file: '/tmp/cacert.pem'})
panda.start_deployment({ component: 'html-editor', version: '123' })
Clone this wiki locally