I´m not able to connect to HTTPS. Tried deleting .caddy folder. Didn’t find any post similar to this and was wondering if I could get help diagnosing the problem. HTTP works fine, would like to have HTTPS though.
Server OS is Linux Ubuntu 16.04 LTS
Caddyfile:
http://xxx.com http://*.xxx.com {
tls admin@xxx.com
root /var/www
ext .html
}
tlstest.xxx.com {
tls admin@xxx.com
root /var/www
ext .html
}
Command:
$ caddy -log caddy.log
Activating privacy features... done.
http://xxx.com
http://*.xxx.com
http://tlstest.xxx.com
https://tlstest.xxx.com
Log file:
2017/10/18 22:48:12 [WARNING] TLS disabled for http://xxx.com
2017/10/18 22:48:12 [WARNING] TLS disabled for http://*.xxx.com
2017/10/18 22:48:12 http://xxx.com
2017/10/18 22:48:12 http://*.xxx.com
2017/10/18 22:48:12 http://tlstest.xxx.com
2017/10/18 22:48:12 https://tlstest.xxx.com
HTTPie:
$ http https://tlstest.xxx.com
http: error: SSLError: ("bad handshake: SysCallError(54, 'ECONNRESET')",) while doing GET request to URL: https://tlstest.xxx.com/
curl:
curl https://tlstest.xxx.com/
curl: (35) Server aborted the SSL handshake