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

Chef DK and OpenSSL w/ Open Source Chef Server #34

Closed
mar-io opened this issue May 1, 2014 · 2 comments
Closed

Chef DK and OpenSSL w/ Open Source Chef Server #34

mar-io opened this issue May 1, 2014 · 2 comments

Comments

@mar-io
Copy link

mar-io commented May 1, 2014

I installed ChefDk on my server and it broke my OpenSSL configuration/knife client. I am on open source chef server (11.4.4) on RHEL 6. Essentially, when I tried to connect to Chef Server with knife ( knife client list for example) I would get weird error like:

OpenSSL::SSL::SSLError: SSL_connect returned=5 errno=0 state=SSLv3 read server certificate B: certificate verify failed

When I checked the SSL configuration being used using "knife ssl check" I saw that OpenSSL was using ChefDk certs instead of the certs embedded with the original omnibus install.

I had to uninstall ChefDK and reinstall chef-client.

Can Chef DK be installed alongside an existing chef-client/knife that relies on OpenSSL to connect to the server? Or am I missing something?

@danielsdeleo
Copy link
Contributor

Can you explain further? You have ChefDK and Omnibus chef-client installed on your workstation? What did you previously do to make OpenSSL trust your self-signed cert?

@danielsdeleo
Copy link
Contributor

Closing this until I get more information on you about how to reproduce the issue.

@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants