You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error
"SSL Certificate add failed, Error: 1312 A specified logon session does not exist. It may already have been terminated"
windows_certificate "C:/tmp/cert/certpfx.pfx" do
pfx_password "12345"
user_store false
end
windows_certificate_binding 'Binding' do
action :create
name 'CN=www.demo.com'
name_kind :subject
store_name "MY"
port 443
address '0.0.0.0'
end
After googling find that this is not working due to "Allow Export " is not setting true while import certificate
I can able to install same certificate manually with allow export true
Please help how to resolve this.
also same thing working fine using powershell script
Hey There
It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you.
Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.
If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.
Sorry to necro an old issue, but I put this together for someone that had the dreaded 1312 issue. TLDR, generate your CSR using OpenSSL, use that to get your cert, then use OpenSSL to merge in your private key and convert to PFX, then install the PFX file.
Getting error
"SSL Certificate add failed, Error: 1312 A specified logon session does not exist. It may already have been terminated"
After googling find that this is not working due to "Allow Export " is not setting true while import certificate
I can able to install same certificate manually with allow export true
Please help how to resolve this.
also same thing working fine using powershell script
We use GitHub issues to track bugs and feature requests. If you need help please post to our Mailing List or join the Chef Community Slack.
Support issues opened here will be closed and redirected to Slack or Discourse.
The text was updated successfully, but these errors were encountered: