Hi everyone. I have a new Windows 10 Enterprise install and I decided to install Caddy. I have followed the instructions, I have setup my DNS forwarding, but when I run caddy.exe I am getting the following errors.
I have updated the DOMAIN to the correct domain name, but nothing is working
Activating privacy features... 2018/06/02 08:57:28 [DOMAIN.com] failed to get certificate: acme: Error 400 - urn:ietf:params:acme:error:connection - Fetching http://DOMAIN.com/.well-known/acme-challenge/z0LVQIEphxSUhumeHSrfxlwiKY19SRM2Ipj2Q37T6Ok: Connection reset by peer
I don’t know what I am doing wrong. Any help would be appreciated
Hi @apperrault, welcome to the Caddy community.
That error indicates that LetsEncrypt tried to connect to the IP address it got from DNS, but the destination machine rejected the connection.
Commonly caused by misconfigured firewalls.
Everything appears to be functioning properly on both the Windows 10 side and from my Router side of things. Maybe I will just reboot everything when i get home to ensure that things are playing nice with each other.
I will let you know if I have anything else pops up
OK, I forgot I was running a VPN on the host that I was trying to run Caddy on (DOH!!!) which was why it couldn’t connect. Now, when i run caddy.exe I get:
Activating privacy features… done.
2018/06/04 09:30:04 no action found for directive ‘startup’ with server type ‘http’ (missing a plugin?)
shutdown directives were deprecated a while back. If you’re on a modern version of Caddy, you’ll need to use
For most (all?) configurations, that simply means replacing instances of
on startup in your Caddyfile.
thank you so much. that worked great
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.