Chef 12: any cher-server-ctl <command> returns connection reset by peer - ssl_connect

Posted March 19, 2015 6.9k views


Its my first time using chef. so i followed step by step too install it using this tutorial.

for some weird reason i cant seem to get past after reconfiguring command.

sudo chef-server-ctl reconfigure

i was ready to create a new user with the command below.. and i keep getting the same reset error.

chef-server-ctl user-create username firstname lastname email password -f admin.pem

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

any idea what am i missing or doing wrongly?

what am i doing wrong?

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

I faced same issue.
Just reboot your server & try. It worked for me :)

no need to reboot.. if you don’t have ssl setup.. run below if yum based system. the chef instructions sucks!
yum install mod_ssl