Subject: Re: [bug#72577] [PATCH v2] services: agate: Change variable names and add system test.

From: Rodion Goritskov <[email-masked]>
Date: Fri, 16 Aug 2024 23:14:50 +0400

Christopher Howard <[email-masked]> writes:

> Another little detail perhaps worth noting: the guix documentation
> specifies that if no valid key and certificate is available, then
> Agate will try to generate them on its own. However, if you attempt to
> go this route, you get an error:
>
> ```
> 2024-08-16 10:58:21 No keys or certificates were found in the given directory.
> 2024-08-16 10:58:21 Specify the --hostname option to generate these automatically.
> ```
>
> But there does not appear to be a hostname field available to agate-configuration, or at least it is not documented. Only the "hostnames" field for virtual hosts.

Actually, "hostnames" field in agate-configuration is a list of hostnames
that are passed as --hostname options to Agate.

I am going to update documentation pointing out that certificates are
going to be generated only if any hostnames are present in the
"hostnames" field.