Running Certbot as Jenkins job

Hello, Im trying to run the following script in a Jenkins job

My domain is:

I ran this command:
./certbot-auto certonly --manual -n --email --preferred-challenges=dns --server --agree-tos -d * --manual-public-ip-logging-ok --manual-auth-hook /home/ubuntu/certbot/

It produced this output:

Performing the following challenges: dns-01 challenge for Running manual-auth-hook command: /home/ubuntu/certbot/

Output from manual-auth-hook command
XXXXXXXXXXXX (challenge data)
Waiting for verification…

Challenge failed for domain dns-01 challenge for

for now, I want to manually create the txt records value on my DNS server.
is it possible to tell certbot to wait before trying to validate?


If you don’t provide an auth-hook script, Certbot will display the challenge data and then wait and prompt you! Providing an auth-hook script disables that default behavior.

There is an option called --debug-challenges which I think will effectively do what you want if you still need the auth-hook, although most people don’t use it with --manual!

1 Like

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