New Install Windows 10


(Aaron Perrault) #1

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

thanks

app


(Matthew Fay) #2

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.


(Aaron Perrault) #3

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

app


(Aaron Perrault) #4

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:

C:\caddy>caddy
Activating privacy features… done.
2018/06/04 09:30:04 no action found for directive ‘startup’ with server type ‘http’ (missing a plugin?)

Any thoughts?


(Matthew Fay) #5

Yep. The startup and shutdown directives were deprecated a while back. If you’re on a modern version of Caddy, you’ll need to use on instead.

For most (all?) configurations, that simply means replacing instances of startup with on startup in your Caddyfile.

https://caddyserver.com/docs/on


(Aaron Perrault) #6

thank you so much. that worked great

thanks

app


(system) #7

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.