You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #1753 the DNS-01 challenge is handled with the lego binary. HTTP-01 challenge can also now be handled with the lego binary.
Proposed changes:
Add core.http_address to config.
Add well-known HTTP server to incusd that is enabled when core.http_address is valid. This new server simply serves files from the .well-known subfolder of var root (i.e., /var/lib/incus).
When updating certificates using HTTP-01 challenge, call lego with the --http.port [port] --http.webroot [webroot] settings so that the challenge token is written to the file system folder [webroot]/.well-known/acme-challenge/ and available via http://[domain]:[port]/.well-known/acme-challenge/[token]
I have this as a PoC in a local branch, but want to sense check this approach first before submitting a PR @stgraber.
The text was updated successfully, but these errors were encountered:
Since #1753 the DNS-01 challenge is handled with the
lego
binary. HTTP-01 challenge can also now be handled with thelego
binary.Proposed changes:
core.http_address
to config.incusd
that is enabled whencore.http_address
is valid. This new server simply serves files from the.well-known
subfolder of var root (i.e.,/var/lib/incus
).lego
with the--http.port [port] --http.webroot [webroot]
settings so that the challenge token is written to the file system folder[webroot]/.well-known/acme-challenge/
and available viahttp://[domain]:[port]/.well-known/acme-challenge/[token]
I have this as a PoC in a local branch, but want to sense check this approach first before submitting a PR @stgraber.
The text was updated successfully, but these errors were encountered: