Hi all, I would like to know if there is a possibility to configure a reverse proxy on VyOS 1.4 using a certificate for HTTPS, in a way similar to what I already do today via a Caddy container.
I’ve tried playing around a bit with the set pki certificate <name> acme
, but haven’t been able to get anywhere as I always get an error.
For example, this
pki {
certificate <name> {
acme {
domain-name "<domain>"
email "<email>"
url "https://acme-staging-v02.api.letsencrypt.org/directory"
}
}
}
returns me the following error:
ACME certbot request failed for "<name>"! failed to run
command: certbot certonly --non-interactive --config-dir
/config/auth/letsencrypt --cert-name <name> --standalone
--agree-tos --no-eff-email --expand --server https://acme-
staging-v02.api.letsencrypt.org/directory --email <email>
--key-type rsa --rsa-key-size 2048 --domains <domain>
returned: Requesting a certificate for <domain> exit
code: 1
Thank you very much,
Regards