Win-acme: Reading IIS binding with wildcard domain causes exception

Created on 2 Mar 2021  路  3Comments  路  Source: win-acme/win-acme

Description
When using win-acme for creating a cert interactively reading the bindings from a website including a wildcard domain causes an exception

To Reproduce

  1. start wacs.exe
  2. choose any "Create certificate" option (N/M)
  3. choose 1: Read site bindings from IIS
  4. choose website with hostname that contains a wildcard entry e.g. *.example.test

Reading the binding from IIS website causes exception:

(ParseException): Cannot parse domain to an uri
Wrapped in InvalidOperationException: Failed to compare two elements in the array.

Expected behavior
Show bindings including wildcard domains.

Log
2021-03-02 14:14:29.817 +00:00 [INF] Please report issues at https://github.com/win-acme/win-acme
2021-03-02 14:14:40.970 +00:00 [INF] Running in mode: "Interactive, Advanced"
2021-03-02 14:17:58.541 +00:00 [INF] No command line arguments provided
2021-03-02 14:17:59.003 +00:00 [INF] Software version 2.1.15.1008 (release, pluggable, standalone, 64-bit) started
2021-03-02 14:17:59.004 +00:00 [INF] Connecting to "https://acme-v02.api.letsencrypt.org/"...
2021-03-02 14:18:00.597 +00:00 [INF] Scheduled task looks healthy
2021-03-02 14:18:00.607 +00:00 [INF] Please report issues at https://github.com/win-acme/win-acme
2021-03-02 14:18:05.997 +00:00 [INF] Running in mode: "Interactive, Simple"
2021-03-02 14:18:11.323 +00:00 [ERR] (ParseException): Cannot parse domain to an uri
2021-03-02 14:18:11.334 +00:00 [ERR] Wrapped in InvalidOperationException: Failed to compare two elements in the array.

Platform:

  • OS: Windows 2016 Datacenter, English
  • Version: 2.1.15.1008 (release, pluggable, standalone, 64-bit)
confirmed bug

All 3 comments

Yes that's a bug introduced in 2.1.15 I'm afraid, I will fix it for the next release.

2.1.16 will be released today!

Works like a charm again! Thanx!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AHTUxPK picture AHTUxPK  路  3Comments

Trapulo picture Trapulo  路  3Comments

Michael-the-Great picture Michael-the-Great  路  4Comments

cinadr picture cinadr  路  3Comments

vibarco picture vibarco  路  4Comments