Assistance Required with SSL Certificate Configuration on Draytek 3900 and Windows Server IIS

Dear Support Team,

I am currently encountering an issue with setting up and configuring an SSL certificate on my Windows Server using IIS, while also utilizing a Draytek 3900 router for NAT and port forwarding. Below are the details of the problem:

Background Information

  1. Domain and Certificate Setup:

• The domain in question is izer.info, and it is correctly pointed to a static public IP address using an A record.

• I used Let’s Encrypt via WACS.exe to generate the SSL certificate, which appears to be successfully created and installed on the server. The certificate is stored in C:\inetpub\wwwroot\izer.info.pfx and shows valid dates in IIS (22.12.2024 - 22.03.2025).

  1. Router Configuration:

• I am using a Draytek 3900 router, and port 443 is properly forwarded to the internal server IP (192.168.100.252) using the “Port Redirection” settings.

• The router also runs a built-in VPN service, which previously caused conflicts with port 443. However, the VPN service has been stopped to avoid interference.

  1. Testing Results:

• Tools like YouGetSignal confirm that port 443 is open.

• However, accessing the site via https://izer.info results in a “Certificate Authority Invalid” error in browsers. Additionally, SSL Labs reports:

“Alternate names not found in the certificate” – indicating that the certificate does not match the domain name.

• The certificate presented sometimes appears to be the router’s default SSL certificate (Vigor Router issued by Draytek) instead of the Let’s Encrypt certificate.

  1. SSL Certificate Details:

• The Let’s Encrypt certificate seems to lack a “Subject Alternative Name” (SAN) for izer.info, which may be causing mismatches during validation.

• Despite recreating the certificate multiple times with WACS.exe (including with --nocache), the problem persists.

Steps Taken So Far

  1. Verified DNS records and ensured the A record for izer.info points to the correct public IP.

  2. Cleaned up old certificates from the server and reinstalled the Let’s Encrypt certificate.

  3. Disabled the Draytek VPN service to free up port 443.

  4. Adjusted NAT rules on the router, ensuring that port 443 is directed to the correct internal IP.

  5. Imported intermediate certificates from Let’s Encrypt to Windows Server.

  6. Tested with tools like SSL Labs, which continue to show issues with alternate names and certificate matching.

Request for Assistance

  1. Draytek 3900 Configuration:

• Are there any specific settings on the Draytek 3900 router that could cause SSL certificates to be overridden by the router’s default certificate?

• How can I ensure that the Let’s Encrypt certificate is presented to external requests instead of the Draytek’s own certificate?

  1. SSL Configuration on Windows Server:

• Are there additional steps to properly bind the certificate to IIS to ensure that the correct certificate is used for HTTPS traffic?

• Is there a way to verify and resolve issues with SAN (Subject Alternative Name) in Let’s Encrypt certificates generated using WACS.exe?

Any guidance or suggestions to resolve this issue would be greatly appreciated. Thank you for your time and support.

Kind regards,

Kadri İzer.

My domain is: izer.info

I ran this command: win-acme (latest ver)

It produced this output:

My web server is (include version): IIS 10

The operating system my web server runs on is (include version): Windows 2019

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Hi @kadriizer,

The certificate being served is a self-signed certificate as shown here https://decoder.link/sslchecker/izer.info/443

Edit

I don’t believe that port forwarding is working properly,
this is what I see on my iPhone with Safari for the site.

2 Likes

Thank you for fast reply :slight_smile:
I share with you routers screen. I there any problem or missing ?

Kadri.

Bruce Mitchell via Let's Encrypt Community Support <notifications@letsencrypt.discoursemail.com>, 23 Ara 2024 Pzt, 16:23 tarihinde şunu yazdı:

Probably best to go to Draytek 3900 support channels as they would know the details for the product.
I’m not knowledgeable on this product, maybe someone else on this forum will be able help. Kindly wait and see.

2 Likes

Thank you for your interest :slight_smile:

Bruce Mitchell via Let's Encrypt Community Support <notifications@letsencrypt.discoursemail.com>, 23 Ara 2024 Pzt, 16:44 tarihinde şunu yazdı:

@kadriizer You should probably change the admin port of your Draytek router. I couldn't portmap my port 80 to my server on my Draytek router too, when the admin interface was running on port 80 itself.

That said, the Draytek admin should probably not be accessible from the world wide web to begin with, just to be safe. However, even if you block access to it from the public internet, you should change the port regardless due to the above.

3 Likes

Thank you for reply

We are using a different port for admin. So port 80 is forwarded for "http://izer.info" already :slight_smile:
And m waiting for "rate limits" now :wink:
There is a document for drytek that I found on their site. I share with anyone who needs...

1 Like