-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certificate being installed in the wrong store's environment. #566
Comments
Hi @ckoenig673 : This issue fixed in PR: chef/win32-certstore#37 |
Just hit this myself. Looking forward to the merge/release. |
I just tested windows 4.3.4 against my VM, and the certificate is still ending up in the User store, not the Local Machine store. My chef-client.log definitely indicates windows cookbook version 4.3.4.
Here's my code for installing the cert:
Platform Details: |
Still an issue with the latest code |
@silverl can you confirm what version of the
It needs to be 0.1.7 which was released yesterday. I'm not sure that the cookbook necessarily would update it, it looks like the |
Hmm, I'm getting an empty list back. I'm using ChefDK so I changed the path to embedded.
I use Policyfiles, if that makes a difference. |
@silverl how are you running chef-client? running |
Yes, running |
@silverl oh, |
Came back with |
I have the same problem with #561 and not getting the latest gem, and confirmed changing https://github.com/chef-cookbooks/windows/blob/v4.3.4/resources/certificate.rb#L96 to |
This will be fixed by the new version of the Windows cookbook that ships today. |
Cookbook version
[4.3.1]
Chef-client version
[13.2.20]
Platform Details
[Windows 2012]
Scenario:
[When using the windows_certificate package, the certificate is not being added to the local computer store. It is always being added to the user store]
Steps to Reproduce:
[windows_certificate "D:/support/pfxfilename.pfx" do
store_name "MY"
pfx_password "pfxpassword"
user_store false
end]
Expected Result:
[I am expecting the certificate be installed in the personal local computer store vs the user store]
Actual Result:
[Certificate is installed in the local user store.]
The text was updated successfully, but these errors were encountered: