aloopkin / WinCertes

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

"Object reference not set to an instance of an object." when using option --extra[=VALUE] #30

Closed afantini-onit closed 4 years ago

afantini-onit commented 4 years ago

Version 1.4.1 (installed with WinCertes-Debug.1.4.1.msi installer) returns "Object reference not set to an instance of an object." when using command line option --extra[=VALUE]

First try: WinCertes.exe -a -e me@example.com -d test1.example.com -d test2.example.com -p --extra=0

Second try: WinCertes.exe -a -e me@example.com -d test1.example.com -d test2.example.com -p --extra=1

WinCertes_1 4 1_NullReferenceException

I temporarily switched back to version 1.3.0 and managed to configure two certificates by using --extra option (without an integer index).

valeriob commented 4 years ago

Hi, we got the same problem, here is a fix. https://github.com/aloopkin/WinCertes/pull/31

aloopkin commented 4 years ago

Released as v1.4.2