Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lets-encrypt-update (for vhosts) fails on ocf domains #1264

Open
ethanwu10 opened this issue Feb 23, 2022 · 2 comments
Open

lets-encrypt-update (for vhosts) fails on ocf domains #1264

ethanwu10 opened this issue Feb 23, 2022 · 2 comments
Labels

Comments

@ethanwu10
Copy link
Member

ethanwu10 commented Feb 23, 2022

lets-encrypt-update, the script responsible for issuing certs for all vhosts (apphosting and normal vhosts), chokes on any internal vhosts for a subdomain of ocf.io or ocf.berkeley.edu since acme-tiny is expecting an http-01 challenge, but it is not offered.

Subdomains under root domains are already handled by the Puppet LE infrastructure (which uses dns-01 challenges), but currently build-vhosts uses the certificates obtained from lets-encrypt-update (last updated Jan 09).

> Traceback (most recent call last):
>   File "/usr/bin/acme-tiny", line 33, in <module>
>     sys.exit(load_entry_point('acme-tiny==4.1.0', 'console_scripts', 'acme-tiny')())
>   File "/usr/lib/python3/dist-packages/acme_tiny.py", line 194, in main
>     signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
>   File "/usr/lib/python3/dist-packages/acme_tiny.py", line 131, in get_crt
>     challenge = [c for c in authorization['challenges'] if c['type'] == "http-01"][0]
> IndexError: list index out of range
> 
@ethanwu10 ethanwu10 added the bug label Feb 23, 2022
@singingtelegram
Copy link
Member

backported from bookworm, let's see if it works

@singingtelegram
Copy link
Member

should work now

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants