mirror of
https://github.com/ridercz/AutoACME.git
synced 2026-04-25 15:15:53 +03:00
[GH-ISSUE #22] Cannot get certificate - probe test fails #20
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AutoACME#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AnthonyBe on GitHub (Apr 25, 2018).
Original GitHub issue: https://github.com/ridercz/AutoACME/issues/22
I've just gone through the setup and the script is failing on the probe test on my system:
I've dropped a configcheck text file in the C:\inetpub\wwwroot\AutoACME folder for testing.
If I browse directly to https://anthonyb.no-ip.biz/AutoACME/configcheck then the text file contents are shown, i.e. test works.
If I browse to https://anthonyb.no-ip.biz/.well-known/acme-challenge/configcheck then I get HTTP Error 404
I've also tried with and without the web.config file in the AutoACME folder as I've seen IIS sometimes throw HTTP 500s but it made no difference.
My system is Windows Server 2012 R2 / IIS 8.5 with all current public Windows Update patches installed.
The AutoACME.json file produced by the script config looks fine based on comparison to the docs.
Any thoughts on what I can check next to work out why this is failing on, what looks to be, the URL re-write?
@ridercz commented on GitHub (Apr 25, 2018):
You seem to have some strange configuration, because the
https://anthonyb.no-ip.biz/AutoACME/configcheckaddress should not work. I infer that you have theanthonyb.no-ip.bizbound to the Default Web Site.This is kind of unusual configuration. Usually the Default Web Site is left intact as a fallback site and the production sites are created as new virtual web servers. AutoACME is intended for this kind of scenario.
If you have only single site on your server, then you can omit the URL rewriting and set the
C:\InetPub\wwwroot\.well-known\acme-challengefolder asChallengeFolderin the configuration file. AutoACME is very complicated solution for a single web site, is intended for servers with tens, hundereds or thousands of sites. But it should work.@AnthonyBe commented on GitHub (Apr 26, 2018):
Ah. You are spot on. And yes, I forgot I had bound anthonyb.no-ip.biz to the website while trying to use another SSL Certificate automation solution.
As soon as I removed that hostname from the binding it all worked perfectly and I have HTTPS up and running.
Thank you so much!