Meu nome de domínio é: camaratimbiras.ma.gov.br.sistemas.assesi.com
Executei esse comando: certbot -d camaratimbiras.ma.gov.br.sistemas.assesi.com
Produziu essa saída:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for camaratimbiras.ma.gov.br.sistemas.assesi.com
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
*** Domain: camaratimbiras.ma.gov.br.sistemas.assesi.com***
*** Type: connection***
*** Detail: ***********: Fetching //error: Invalid hostname in redirect target, must end in IANA registered TLD
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
{
"identifier": {
"type": "dns",
"value": "camaratimbiras.ma.gov.br.sistemas.assesi.com"
},
"status": "invalid",
"expires": "2022-12-29T12:42:55Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:connection",
"detail": ": Fetching //error: Invalid hostname in redirect target, must end in IANA registered TLD",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/189068581097/dDIWWw",
"token": "EfKtHlUG9d7bx5DUGbl_1k0DPEBcmdcPVYq61cLPTC4",
"validationRecord": [
{
"url": "http://camaratimbiras.ma.gov.br.sistemas.assesi.com/.well-known/acme-challenge/EfKtHlUG9d7bx5DUGbl_1k0DPEBcmdcPVYq61cLPTC4",
"hostname": "camaratimbiras.ma.gov.br.sistemas.assesi.com",
"port": "80",
"addressesResolved": [
""
],
"addressUsed": ""
},
{
"url": "https://camaratimbiras.ma.gov.br.sistemas.assesi.com/ops/404",
"hostname": "camaratimbiras.ma.gov.br.sistemas.assesi.com",
"port": "443",
"addressesResolved": [
""
],
"addressUsed": ""
},
{
"url": "https://www.camaratimbiras.ma.gov.br.sistemas.assesi.com/ops/404",
"hostname": "www.camaratimbiras.ma.gov.br.sistemas.assesi.com",
"port": "443",
"addressesResolved": [
""
],
"addressUsed": "**********"
}
],
"validated": "2022-12-22T12:42:58Z"
}
]
}
2022-12-22 09:43:02,957:DEBUG:acme.client:Storing nonce: 20F6FSDKzEotQ4QYz3Vs2PUFvXyCocBpFhHZ4m66ApMYiYs
2022-12-22 09:43:02,957:INFO:certbot._internal.auth_handler:Challenge failed for domain camaratimbiras.ma.gov.br.sistemas.assesi.com
2022-12-22 09:43:02,957:INFO:certbot._internal.auth_handler:http-01 challenge for camaratimbiras.ma.gov.br.sistemas.assesi.com
2022-12-22 09:43:02,958:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: camaratimbiras.ma.gov.br.sistemas.assesi.com
Type: connection
Detail: *************: Fetching //error: Invalid hostname in redirect target, must end in IANA registered TLD
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
2022-12-22 09:43:02,958:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/certbot/_internal/auth_handler.py", line 105, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3.6/site-packages/certbot/_internal/auth_handler.py", line 205, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-12-22 09:43:02,958:DEBUG:certbot._internal.error_handler:Calling registered functions
2022-12-22 09:43:02,958:INFO:certbot._internal.auth_handler:Cleaning up challenges
2022-12-22 09:43:12,047:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/bin/certbot", line 11, in
load_entry_point('certbot==1.22.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3.6/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/usr/lib/python3.6/site-packages/certbot/_internal/main.py", line 1632, in main
return config.func(config, plugins)
File "/usr/lib/python3.6/site-packages/certbot/_internal/main.py", line 1342, in run
certname, lineage)
File "/usr/lib/python3.6/site-packages/certbot/_internal/main.py", line 139, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/lib/python3.6/site-packages/certbot/_internal/client.py", line 496, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python3.6/site-packages/certbot/_internal/client.py", line 424, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3.6/site-packages/certbot/_internal/client.py", line 476, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
File "/usr/lib/python3.6/site-packages/certbot/_internal/auth_handler.py", line 105, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3.6/site-packages/certbot/_internal/auth_handler.py", line 205, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2022-12-22 09:43:12,048:ERROR:certbot._internal.log:Some challenges have failed.
Meu servidor web é (com versão): certbot 1.22.0
O sistema operacional no meu servidor web é (com versão): Oracle Linux Server release 8.6
O serviço de hospedagem do meu site (se aplicável) é: nginx reverse + apache
Posso acessar um shell root na minha máquina (sim ou não, ou não sei): não
Uso um painel de controle para administrar meu site (não, ou indique o nome e a versão do painel de controle): não
Consigui atualizar manualmente seguindo o link: Erro ativação certificado - #8 by nicolascloss
O problema é que parou de atualizar automatico com renew