I'm attempting to obtain an SSL certificate for my WordPress site hosted on a Windows Server using Win-acme. However, I’m facing issues during the HTTP-01 validation process. Here are the details of my setup and the problem:Setup:Web Server: IIS on Windows Server 2022Win-acme Version: 2.2.9.1701WordPress Installed: Yes
Issue:When running Win-acme, I receive the following error message during the HTTP-01 validation step:
{"type":"urn:ietf:params:acme:error:connection","detail":"my-static-ip : Fetching http://example.com/.well-known/acme-challenge/rFvoxqdhXc7brikfPdR8weM1R9OaC_6AwX86IQEJssg: Timeout during connect (likely firewall problem)","status":400}
**Firewall **: I turned off the firewall and also added a rule to allow forward packets on port 443.
Directory Structure: I created the following directory structure in my WordPress root:
makefileCopy codeC:\inetpub\wwwroot\my-wordpress-folder.well-known\acme-challenge
I placed a test file named test-file (without any extension) in this directory.
Permissions: Verified that the IIS user (IUSR and IIS_IUSRS) has read permissions on the .well-known directory and its contents.
Testing Access: When I try to access the test file directly at:
http://example.com/.well-known/acme-challenge/test-file
I receive a 404 - Not Found error, indicating that IIS is not serving the file.
what should I do and what is the cause of my problem?