diff options
author | John McCrae <john.mccrae@progress.com> | 2021-07-16 15:39:54 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2021-07-16 15:39:54 -0700 |
commit | 6df65f5b07e650aeeb30b918360d755589093a25 (patch) | |
tree | e873578abb3a45f90555c56780840c49d78722b5 | |
parent | 697f8003445722bc5ba674012b622b037de98735 (diff) | |
download | chef-jfm/morecerts.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
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. |