Table of Contents

, , ,

Letsencrypt certbot troubleshooting

when: sample_com_challenge is changed and 'sample.com' in sample_com_challenge['challenge_data']

otherwise the step will fail with this error

TASK [letsencrypt : Implement http-01 challenge files] ***********************************************************************************************************
fatal: [1.1.1.1]: FAILED! => 
  msg: |-
    The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'my.domain.com'
  

Failed authorization procedure....

Error: Failed authorization procedure. www.example.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from…

There might redirect rules in effect. Try putting this in your .htaccess or vhost file:

RewriteCond %{REQUEST_URI} !^\.well-known/(.*)$

SEC_ERROR_UNKNOWN_ISSUER with certbot in Firefox

If you get this weird error only on Firefox (89.0.2) and other browsers are ok, delete the existing certificate

certbot delete

and run again

certbot

This should resolve the issue.

Tested on

See also

References