win-acme: Failed to listen on prefix 'http://+:80/.well-known/acme-challenge/'
Hi there
I’m hitting an error I’ve never seen before randomly this morning and can’t figure out why. Nothing has changed as far as I’m aware and have setup many sites using WACS. I’m getting this:
[INFO] Target generated using plugin IIS: k1-sport.com [INFO] Authorize identifier: k1-sport.com [INFO] Authorizing k1-sport.com using http-01 validation (SelfHosting) [EROR] Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80 [EROR] Error preparing for challenge answer System.Net.HttpListenerException (183): Failed to listen on prefix ‘http://+:80/.well-known/acme-challenge/’ because it conflicts with an existing reg istration on the machine. at System.Net.HttpListener.AddPrefixCore(String registeredPrefix) at System.Net.HttpListener.AddAllPrefixes() at System.Net.HttpListener.Start() at PKISharp.WACS.Plugins.ValidationPlugins.Http.SelfHosting.PrepareChallenge() at PKISharp.WACS.Plugins.ValidationPlugins.Validation`1.PrepareChallenge(IChallengeValidationDetails challenge) at PKISharp.WACS.RenewalExecutor.Authorize(ILifetimeScope execute, RunLevel runLevel, ValidationPluginOptions options, TargetPart targetPart, Autho rization authorization) [EROR] Create certificate failed: Authorization failed
We’re using IIS. I’ve done a netstat and can’t see anything else on port 80.
Any ideas?
Dave
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (2 by maintainers)
Same issue on
2.1.9.870How I got it: I mage a cert query for xxx.domain.com Then I returned back to make cert query for two domains: xxx.domain.com, foo.xxx.domain.comThis failed
Wiped out C:\ProgramData\Win-Acme and everything is ok now
Having same exact problem with renewals. Not able to locate anything with netsh http show urlacl Does anybody see anything here?
URL Reservations:
We found the culprit, it was a service called “Control Panel Integration Tools”. Hope that helps someone in the future. A day in my life I’ll never get back! 😉 Thanks @webprofusion-chrisc you steered me down the right path.