4. What did you see instead (give full error messages and/or log)?
Log from docker:
Activating privacy features... 2019/05/29 04:19:55 [INFO][cache:0xc000032730] Started certificate maintenance routine
Your sites will be served over HTTPS automatically using Let's Encrypt.
By continuing, you agree to the Let's Encrypt Subscriber Agreement at:
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Please enter your email address to signify agreement and to be notified
in case of issues. You can leave it blank, but we don't recommend it.
Email address: 2019/05/29 04:19:56 [INFO] [blogdemo.haidv.online] acme: Obtaining bundled SAN certificate
2019/05/29 04:19:57 [INFO] [blogdemo.haidv.online] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz/aIZJm_RG6J7cR7CN5PZV8KjIT6jNZImVSogh1nfjnfQ
2019/05/29 04:19:57 [INFO] [blogdemo.haidv.online] acme: use tls-alpn-01 solver
2019/05/29 04:19:57 [INFO] [blogdemo.haidv.online] acme: Trying to solve TLS-ALPN-01
2019/05/29 04:19:58 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz/aIZJm_RG6J7cR7CN5PZV8KjIT6jNZImVSogh1nfjnfQ
2019/05/29 04:19:58 [blogdemo.haidv.online] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[blogdemo.haidv.online] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge, url:
exit status 1
1. Which caddy docker version?
2. What are you trying to do?
I trying to run a simple caddy docker and get the https for my domain blogdemo.haidv.online
Run this docker on EC2 with Elastic IP (this IP already configured with domain blogdemo.haidv.online)
3. What is your Caddyfile?
My Caddyfile:
blogdemo.haidv.online
4. What did you see instead (give full error messages and/or log)?
Log from docker:
I hope it can be as simple as I need.
Thanks