aloopkin / WinCertes

An ACMEv2 client for Windows
GNU General Public License v3.0
118 stars 28 forks source link

Registry Access #27

Closed dcuschieri closed 4 years ago

dcuschieri commented 4 years ago

I am trying the following command in a command prompt with elevated admin rights, after logging in as a local admin:

WinCertes.exe -e myemail@domain.com -d site.domain.com -w -b "My IIS Site Name" -p -t 7

WinCertes is returning the error: "Requested registry access is not allowed"

What could the issue be?

yannlec commented 4 years ago

Same for me. I had to set the ACL in the registry HKLM:\SOFTWARE\WinCertes ... Bug ?

josh-abram commented 4 years ago

Same here. As above, setting permissions at HKLM:\SOFTWARE\WinCertes will work around this for now.

aloopkin commented 4 years ago

Actually, i've tried to programmatically set the permissions on HKLM:\SOFTWARE\WinCertes. Unfortunately, it seems in some cases it prevents from actually using it.

So i've reverted that attempt. Will be released in next version.

aloopkin commented 4 years ago

Can you please test the following, and see if it fixes your issue ? You may need to delete HKLM\Software\WinCertes manually, in case it doesn't work with the exe out of the box. WinCertes-Debug.1.4.0beta3.msi.zip

yannlec commented 4 years ago

it seems to work fine, thanks !

aloopkin commented 4 years ago

Fix released as part of WinCertes 1.4.0