Recreate the certificate

I lost my server. And when trying to recreate the certificate appears this message:

IMPORTANT NOTES:

  • If you lose your account credentials, you can recover through
    emails sent to sergio27@gmail.com.

  • The Following Errors Were Reported by the server:

    Domain: api.mydeal.com.br
    Type: unauthorized

how do I get my credentials?

ubuntu 14
nginx
certbot

@sergiohenrique27, it’s probably not necessary to recover the credentials that it’s referring to; you could simply get a new certificate. Can you tell us what command you’re trying to run to get the certificate?

thanks @schoen
certbot-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d api.mydeal.com.br

@sergiohenrique27, in your original post you mentioned the error that Certbot gave you. Was there more to this message? After

Domain: api.mydeal.com.br
Type: unauthorized

there should also be a “Detail” field providing more information about what went wrong. If you do not see such a field, could you provide a full log of the issue? Logs by default are saved in /var/log/letsencrypt. Feel free to redact any information such as e-mail addresses, IP addresses, or domain names from your logs as you feel appropriate.

Thanks i resolve this question

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.