0

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.

Community
  • 1
  • 1

1 Answers1

0

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

Roland
  • 1,426
  • 9
  • 9