Si ho letto, direi proprio di si! Quando avvio il progetto Docker riesco a visualizzare il sito sia su http che su https.
Il file .log è infinito e a mio avviso non dice molto, ti riporto l'ultima parte poi se vuoi te lo mando tutto:
Codice: Seleziona tutto
HTTP 200
Server: nginx
Date: Wed, 22 Jun 2022 11:48:29 GMT
Content-Type: application/json
Content-Length: 1051
Connection: keep-alive
Boulder-Requester: 59...6
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 01020L...Ybww4
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "www.$$$$$$$$$.tk"
},
"status": "invalid",
"expires": "2022-06-29T11:48:27Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:connection",
"detail": "###.###.###.###: Fetching http://www.$$$$$$$$$.tk/.well-known/acme-challenge/i5Y7...YTg0: Error getting validation data",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/122425252866/h1i7Vg",
"token": "i5Y7...GYTg0",
"validationRecord": [
{
"url": "http://www.$$$$$$$$$.tk/.well-known/acme-challenge/i5Y7...d5gGYTg0",
"hostname": "www.$$$$$$$$$.tk",
"port": "80",
"addressesResolved": [
"###.###.###.###"
],
"addressUsed": "###.###.###.###"
}
],
"validated": "2022-06-22T11:48:28Z"
}
]
}
2022-06-22 11:48:29,907:DEBUG:acme.client:Storing nonce: 01020...1Ybww4
2022-06-22 11:48:29,907:INFO:certbot._internal.auth_handler:Challenge failed for domain $$$$$$$$$.tk
2022-06-22 11:48:29,907:INFO:certbot._internal.auth_handler:Challenge failed for domain www.$$$$$$$$$.tk
2022-06-22 11:48:29,907:INFO:certbot._internal.auth_handler:http-01 challenge for $$$$$$$$$.tk
2022-06-22 11:48:29,907:INFO:certbot._internal.auth_handler:http-01 challenge for www.$$$$$$$$$.tk
2022-06-22 11:48:29,907:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: $$$$$$$$$.tk
Type: connection
Detail: ###.###.###.###: Fetching http://$$$$$$$$$.tk/.well-known/acme-challenge/PfyqCe...9jdWgE: Error getting validation data
Domain: www.$$$$$$$$$.tk
Type: connection
Detail: ###.###.###.###: Fetching http://www.$$$$$$$$$.tk/.well-known/acme-challenge/i5Y...Qld5gGYTg0: Error getting validation data
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
2022-06-22 11:48:29,908:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 106, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 206, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-06-22 11:48:29,908:DEBUG:certbot._internal.error_handler:Calling registered functions
2022-06-22 11:48:29,908:INFO:certbot._internal.auth_handler:Cleaning up challenges
2022-06-22 11:48:29,908:DEBUG:certbot._internal.plugins.standalone:Stopping server at :::80...
2022-06-22 11:48:30,158:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/snap/certbot/2134/bin/certbot", line 8, in <module>
sys.exit(main())
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/main.py", line 1744, in main
return config.func(config, plugins)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/main.py", line 1591, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/main.py", line 141, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/client.py", line 513, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/client.py", line 441, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/client.py", line 493, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 106, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/snap/certbot/2134/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 206, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-06-22 11:48:30,159:ERROR:certbot._internal.log:Some challenges have failed.