Enabling SSL for berk upload in WINDOWS

68 views Asked by At

Recently, I found I had a problem with berks upload and found a solution here provided by Tensibai, it was for a *nix system, and I am hoping for a command that would address someone using windows to develop with chefdk. Specifically, how to make this:

openssl s_client -showcerts -connect :443 /dev/null|openssl x509 -outform PEM >> /opt/chefdk/embedded/ssl/certs/cacert.pem

Work under windows.

1

There are 1 answers

2
Roland On

knife ssl fetch https://yourserver:443/ should dump the cert. Add it to C:\opscode\chefdk\embedded\ssl\certs\cacert.pem