diff options
| author | Simon Josefsson <simon@josefsson.org> | 2026-01-04 21:05:17 +0100 |
|---|---|---|
| committer | Simon Josefsson <simon@josefsson.org> | 2026-01-04 21:16:57 +0100 |
| commit | a6cad5fb42c1243f73a3433c6fd91a85d75fc105 (patch) | |
| tree | 189cb33a10b217ea2a8f42c51ca00171c913b555 | |
| parent | 83b23f92d31e3c3e7940f1b4f758a6e0f36e72ce (diff) | |
Fix host-specific Acquire::https CAInfo/CRLFile example (Closes: #1112123)
The proper syntax for a host-specific parameters are:
Acquire::https::deb.debian.org::CAInfo "/path/to/cert.pem";
Acquire::https::deb.debian.org::CRLFile "/path/to/cert.pem";
| -rw-r--r-- | doc/apt-transport-https.1.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/apt-transport-https.1.xml b/doc/apt-transport-https.1.xml index 64d473cac..732320113 100644 --- a/doc/apt-transport-https.1.xml +++ b/doc/apt-transport-https.1.xml @@ -54,7 +54,7 @@ for <literal>Acquire::http</literal>. This manpage will only document the option <package>ca-certificates</package> package) are used for the verification of the server certificate. An alternative certificate authority (CA) can be configured with the <literal>Acquire::https::CAInfo</literal> option and its -host-specific option <literal>Acquire::https::CAInfo::<replaceable>host</replaceable></literal>. +host-specific option <literal>Acquire::https::<replaceable>host</replaceable>::CAInfo</literal>. The CAInfo option specifies a file made up of CA certificates (in PEM format) concatenated together to create the chain which APT should use to verify the path from your self-signed root certificate. If the remote server provides the @@ -63,7 +63,7 @@ certificate. Otherwise, the whole chain is required. If you need to support multiple authorities, the only way is to concatenate everything.</para> <para>A custom certificate revocation list (CRL) can be configured with the options <literal>Acquire::https::CRLFile</literal> and -<literal>Acquire::https::CRLFile::<replaceable>host</replaceable></literal>. +<literal>Acquire::https::<replaceable>host</replaceable>::CRLFile</literal>. As with the previous option, a file in PEM format needs to be specified.</para> </refsect2> |
