I already got it: the website was not live yet. Had to do a workaround with a subdomain.
Error with SSL
Hi guys, I 've followed the steps in https://laracasts.com/series/server-management-with-forge/episodes/12 but I get an error:
Creating well known challenge directory... Installing LetsEncrypt client... Cloning into 'letsencrypt1520168326'... Note: checking out 'tags/v0.5.0'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 4a81175... version 0.5.0 Configuring client... Restarting Nginx... Generating Certificate...
INFO: Using main config file /root/letsencrypt1520168326/config
- Generating account key...
- Registering account key with ACME server...
- Done!
INFO: Using main config file /root/letsencrypt1520168326/config
Processing www.zomerjassen.nl with alternative names: zomerjassen.nl
- Signing domains...
- Creating new directory /root/letsencrypt1520168326/certs/www.zomerjassen.nl ...
- Creating chain cache directory /root/letsencrypt1520168326/chains
- Generating private key...
- Generating signing request...
- Requesting challenge for www.zomerjassen.nl...
- Requesting challenge for zomerjassen.nl...
- Responding to challenge for www.zomerjassen.nl... ERROR: Challenge is invalid! (returned: invalid) (result: { "type": "http-01", "status": "invalid", "error": { "type": "urn:acme:error:unauthorized", "detail": "Invalid response from http://www.zomerjassen.nl/.well-known/acme-challenge/s9PoSVKY7SugqIOCP0Qaai8k1tdkBBOti4O547iflrE: "\u003c!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"\u003e\n\u003chtml\u003e\u003chead\u003e\n\u003ctitle\u003e404 Not Found\u003c/title\u003e\n\u003c/head\u003e\u003cbody\u003e\n\u003ch1\u003eNot Found\u003c/h1\u003e\n\u003cp"", "status": 403 }, "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/gT-uJvQmEF5G_EyzZxSP3eMoqj_pvxZ44zIo_Un-yvk/3685587414", "token": "s9PoSVKY7SugqIOCP0Qaai8k1tdkBBOti4O547iflrE", "keyAuthorization": "s9PoSVKY7SugqIOCP0Qaai8k1tdkBBOti4O547iflrE.VJfIi-OEGrSYIZUBG0Ae3XhvlYAxgGiF_I-MIgP-2uk", "validationRecord": [ { "url": "http://www.zomerjassen.nl/.well-known/acme-challenge/s9PoSVKY7SugqIOCP0Qaai8k1tdkBBOti4O547iflrE", "hostname": "www.zomerjassen.nl", "port": "80", "addressesResolved": [ "185.56.145.137", "2a02:40c0:1000:1000:0:1:12:1" ], "addressUsed": "2a02:40c0:1000:1000:0:1:12:1" } ] })
I already got it: the website was not live yet. Had to do a workaround with a subdomain.
Please or to participate in this conversation.