Monday, July 26, 2021

Re: How to use macros in acme-client.conf?

Am 25.07.21 18:54 schrieb Wolf:
> (...)
> api_url="https://acme-v02.api.letsencrypt.org/directory"
> authority letsencrypt {
> api url $api_url
> account key "/etc/acme/letsencrypt-privkey.pem"
> }

please check if you accidently inserted some control characters when
copy&paste the snippet from the manpage to test.conf.

To test you can remove all whitespace before the word "api" and after
"$api_url".


> It fails with a syntax error:
>
> $ ./acme-client -vvv -f ../test.conf
> api_url = "https://acme-v02.api.letsencrypt.org/directory"
> ../test.conf:3: syntax error

What is "-vvv"?
Manpage on my 6.9-STABLE mentions "Specify twice..."


> It looks like the macro is loaded correctly, but the expansion fail. Are
> the macros just bugged? If not, could someone please advice me on what I
> am doing wrong?
>

macro expansion works on all of my systems.
So they are not "just bugged" ;-)

No comments:

Post a Comment