diff options
author | John McCrae <john.mccrae@progress.com> | 2021-07-16 15:39:54 -0700 |
---|---|---|
committer | Marc A. Paradise <marc.paradise@gmail.com> | 2021-07-19 10:16:45 -0400 |
commit | c48382e66cdea159e4629cf6e339d08a4e1d67ef (patch) | |
tree | 007ec7c0f81e1e089e33c07381980c22c45aa1c8 | |
parent | e4f7e09645c392caf53ef3099879ffcb10a399c2 (diff) | |
download | chef-jfm/morecerts-fixed.tar.gz |
chef client is successfully reading from the windows cert store and attempting to connect to the chef server. Added unit tests and corrected a test in the windows_hostname_spec to remove WMI callsjfm/morecerts-fixed
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | lib/chef/http/authenticator.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/chef/http/authenticator.rb b/lib/chef/http/authenticator.rb index 1fe406d209..f02558f5af 100644 --- a/lib/chef/http/authenticator.rb +++ b/lib/chef/http/authenticator.rb @@ -154,15 +154,6 @@ class Chef raise Chef::Exceptions::InvalidPrivateKey, msg end - - # def retrieve_certificate_key(client_name) - # if ChefUtils.windows? - # check_and_retrieve_private_key(client_name) - # else # generic return for Linux systemss - # false - # end - # end - def retrieve_certificate_key(client_name) # This code block assumes a certificate with a subject name like "Chef-<node-name>" is in the \LocalMachine\My store and # that there is a password stored in the registry to be used to export the pfx with. |