User Tools

Site Tools


wiki:certbot_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:certbot_troubleshooting [2021/06/04 11:03] – add more info antisawiki:certbot_troubleshooting [2022/07/26 10:37] (current) – [References] add link antisa
Line 9: Line 9:
  
   * Certbot only works on default ports, 80 and 443. Check if the Listen directive has a different port if you get "Unauthorized error.   * Certbot only works on default ports, 80 and 443. Check if the Listen directive has a different port if you get "Unauthorized error.
 +
 +  * When using the [[https://docs.ansible.com/ansible/latest/collections/community/crypto/acme_certificate_module.html#examples|ansible module]] make sure you add a [[https://github.com/ansible-collections/community.crypto/pull/11/files|check]] for the //challenge_data// this part:
 +
 +  when: sample_com_challenge is changed and 'sample.com' in sample_com_challenge['challenge_data']
 +
 +otherwise the step will fail with this error
 +<code>
 +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'
 +  
 +
 +</code>
  
 ===== Failed authorization procedure.... ===== ===== Failed authorization procedure.... =====
Line 17: Line 31:
  
   RewriteCond %{REQUEST_URI} !^\.well-known/(.*)$   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 ====== ====== Tested on ======
   * Debian 10.8   * Debian 10.8
-  * certbot 0.31+  * certbot 0.31.0
  
 ====== See also ====== ====== See also ======
Line 27: Line 51:
   * [[wiki:certbot_download_certificates_only|Certbot download certificates only]]   * [[wiki:certbot_download_certificates_only|Certbot download certificates only]]
 ====== References ====== ====== References ======
 +  * https://github.com/ansible/ansible/issues/67949
  
wiki/certbot_troubleshooting.1622797384.txt.gz · Last modified: 2021/06/04 11:03 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki