Error renewing or creating a certificate

My domain is:portalamef.mastercomputers.ro

I ran this command:create new certificate with wacs utility

It produced this output:
[EROR] {
“type”: “urn:ietf:params:acme:error:unauthorized”,
“detail”: “Invalid response from http://portalamef.mastercomputers.ro/.well-kn
own/acme-challenge/hot6vQB4vFfI016Kxtx4oypp6bITN5EGNKzZR8I0xvA [86.120.69.43]:
“\n\n500 Internal Server Error\n\n

Inter””,
“status”: 403
}

My web server is (include version): IIS 8.5

The operating system my web server runs on is (include version): Windows Server 2012 R2

My hosting provider, if applicable, is: selfhosting

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): I have direct access to IIS

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

Hi @dragos.anastasiu

checking your domain there is a http status 500 - Internal Server error ( https://check-your-website.server-daten.de/?q=portalamef.mastercomputers.ro ):

Domainname Http-Status redirect Sec. G
http://portalamef.mastercomputers.ro/
86.120.69.43 500 0.107 S
Internal Server Error
https://portalamef.mastercomputers.ro/
86.120.69.43 200 0.674 N
Certificate error: RemoteCertificateChainErrors
http://portalamef.mastercomputers.ro/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
86.120.69.43 500 0.106 S
Internal Server Error
Visible Content: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.25 (Debian) Server at portalamef.mastercomputers.ro Port 80

And it’s not an IIS, it’s an Apache.

The ip address

Host T IP-Address is auth. ∑ Queries ∑ Timeout
portalamef.mastercomputers.ro A 86.120.69.43 Bucharest/Bucureşti/Romania (RO) - RDSNET Hostname: 86-120-69-43.rdsnet.ro yes 1 0
AAAA yes

is the same.

Is this a home server? With a wrong port forwarding?

If you use a Windows-client, that may not work with your Apache.

Indeed, it seems there was a problem with the forwarding of port 80. I was only checking from inside the network, that’s why I didn’t notice the fault.

Thank you!