Commit 9693e29e authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Make curl avoid SSL verification

URLs to generate authentication and to upload keys uses self-signed
certificates, which can't be verified.
parent e356efc8
......@@ -105,12 +105,12 @@ Example sessions is::
request(...)
curl -X GET master-key-generate-auth-url
curl -k -X GET master-key-generate-auth-url
> authtoken
cat certificate.pem key.pem ca-bundle.pem > master.pem
curl -X PUT --data-binary @master.pem master-key-upload-url+authtoken
curl -k -X PUT --data-binary @master.pem master-key-upload-url+authtoken
This replaces old request parameters:
......@@ -133,12 +133,12 @@ Example sessions is::
request(...)
curl -X GET key-generate-auth-url
curl -k -X GET key-generate-auth-url
> authtoken
cat certificate.pem key.pem ca-bundle.pem > master.pem
curl -X PUT --data-binary @master.pem key-upload-url+authtoken
curl -k -X PUT --data-binary @master.pem key-upload-url+authtoken
This replaces old request parameters:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment