aloopkin / WinCertes

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

will it work with nginx #7

Closed mediacoolp closed 5 years ago

mediacoolp commented 6 years ago

i am using ginx on windows will it work ty

aloopkin commented 5 years ago

yes it will work, but not automatically. you need to adapt the webroot path (-w), and probably to write a PowerShell script (launched via -f) to deploy the certificate for it.

hobi82 commented 5 years ago

Could you please provide a working example? I have tried to go down that path and because you seem to enforce the import of the .pfx into the Microsoft Certificate Store and also delete the source file afterwards, there seems to be no way to export the private key later, since Microsoft doesn't allow the export of the private key from the cert store. Also I couldn't get your Powershell sample to work with your tool. It just does nothing so far...

Why not just provide an option to leave the .pfx file as is (without the enforced import to the MS Cert store. That would be greatly appreciated since not everybody uses IIS. Cheers

aloopkin commented 5 years ago

So:

Can you please give me more details about what you do and that isn't working, like the command lines you typed, the content of the powershell, etc.?

aloopkin commented 5 years ago

See #9