Continue DNS Verfication


#1

My domain is: yac.website

I ran this command: sudo certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d *.yac.website

It produced this output:

-------------------------------------------------------------------------------
Please deploy a DNS TXT record under the name
_acme-challenge.yac.website with the following value:

yb2b9hxSotTrYS7-riw0wjy717KN52RIbs5NJGY4o7k

Before continuing, verify the record is deployed.
-------------------------------------------------------------------------------
Press Enter to Continue

I have added the TXT record, and it has now propagated, but my SSH connection times out before the propagation is complete. If I re-run the command above, a brand new challenge string is generated, and the timeout cycle begins anew.

I have been reading the documentation and checking the certbot --help docs, but have not been able to find an answer yet. How can I “continue” with the DNS verification process in order to finish creating the certificate?

Thanks in advance.


#2

Certbot doesn’t have a way to do that.

You can work around it by solving the “SSH times out” issue, by doing something like:

  • Changing the keep-alive settings in your SSH client and/or server.

  • Running Certbot from within a terminal multiplexer like Screen, tmux or Byobu.

You could also use a different DNS service that you can automate DNS validation with.


Keep key for challenge
#3

Thank you @mnordhoff. All set now. :slight_smile:


#4

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