Certificado Letsencrypt

223 views
Skip to first unread message

wmu...@wmuzzi.com.br

unread,
May 3, 2022, 9:32:17 AM5/3/22
to Zimbra-BR
Bom dia.

Segui esse tutorial do Anauac e está dando erro no teste.


Versão do Ubuntu: 16.04

Zimbra: Release 8.8.15.GA.3869.UBUNTU16.64 UBUNTU16_64 FOSS edition, Patch 8.8.15_P31.

Erro:
root@mta:~# certbot certonly -d mta.dominio.com.br --email ad...@dominio.com.br --preferred-chain "ISRG Root X1" --agree-tos --webroot --webroot-path /opt/zimbra/data/nginx/letsencrypt/ --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Simulating a certificate request for mta.dominio.com.br

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: mta.dominio.com.br
  Type:   unauthorized
  Detail: ***.***.***.***: Invalid response from http://mta.dominio.com.br/.well-known/acme-challenge/ZlDM0dMnQ2qXwmkwOLeH2MOgD3yaA98MK_AvgUGinIE: 404

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded 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.

O final dos dois arquivos de template do nginx está assim:
 }

    include                 ${core.includes}/${core.cprefix}.docs.common;

location ^~ /.well-known/acme-challenge { root /opt/zimbra/data/nginx/letsencrypt;
    }

}

Alguém pode me dar uma luz, por favor?

Desde já, obrigado.

[]s
Walmiro Muzzi

wmu...@wmuzzi.com.br

unread,
May 3, 2022, 12:02:19 PM5/3/22
to Zimbra-BR
Boa tarde.

Resolvido com a ajuda do Anahuac pelo canal do Telegram e utilizando o seguinte tutorial:


[]s
Walmiro Muzzi
Reply all
Reply to author
Forward
0 new messages