Chef 12.6.0-1 SSL connection closed by peer error

Hello,

First I just want to state that I’m new to Chef and I’ve been tasked to get a POC up and running. So I’m learning as I go.

I installed the Chef Server 12.6 on Centos 7 VM for testing purposes a few days ago. It installed successfully with no issues. I then installed the Chef-DK on a VM that’s going going to be the workstation and configured to point to the chef server. The issue I run into is when I try to do a knife ssl fetch or even a knife ssl check. I get the following error:

ERROR: Errno: :ECONNRESET: Connection reset by peer - SSL_connect

Any ides of I might resolve this? I’m following the step-by-step guide at https://learn.chef.io/install-and-manage-your-own-chef-server/linux/install-chef-server/install-chef-server-using-your-hardware/ and I’m stuck on step 8.

Thanks in advance!

First I would make sure that your firewall on the chef server is allowing incoming traffic on port 80 and 443… This has caught me once or twice in the past…

Try to cURL your chef server from your workstation with http:// and https:// if you get a connection refused on 443 (https) your firewall config is not allowing incoming traffic.

Thanks for the suggestion. I was able to curl to the chef server without getting a connection refused.