(Read this, then delete it before you post.) To get the best help possible, please:
-
explain what you are trying to do,
Install Caddy -
show what you have already tried,
curl https://getcaddy.com | bash -s http.cache,http.cors,http.jwt -
include error messages and log output,
curl: (35) Peer reports incompatible or unsupported protocol version. -
and link to any relevant resources.
I am on CentOS 7, I tried many things, including -k and -iv. This is the output:
About to connect() to getcaddy.com port 443 (#0)
* Trying 138.68.240.78...
* Connected to getcaddy.com (138.68.240.78) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT)
* Peer reports incompatible or unsupported protocol version.
* Error in TLS handshake, trying SSLv3...
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: getcaddy.com
> Accept: */*
>
* Connection died, retrying a fresh connect
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
* Issue another request to this URL: 'https://getcaddy.com'
* About to connect() to getcaddy.com port 443 (#1)
* Trying 138.68.240.78...
* Connected to getcaddy.com (138.68.240.78) port 443 (#1)
* TLS disabled due to previous handshake failure
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT)
* Peer reports incompatible or unsupported protocol version.
* Closing connection 1
curl: (35) Peer reports incompatible or unsupported protocol version.
What can I do to install caddy? I tried with wget but then the application starts at once and is not installed. I need to manage caddy as a service so, I think that the best way is installing it trough the script