Discussion:
[Bug-wget] How specify a CA zoo file during configuration
Jeffrey Walton
2018-07-18 08:41:36 UTC
Permalink
Hi Everyone,

I'm working on an ancient system. I need to bootstrap an updated Wget.

I installed a new ca-certs.pem in /usr/local/share. I need to tell
Wget to use it. I don't see a configuration option:

$ ./configure --help | grep -i ca
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
[/usr/local]
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--with-cares enable support for C-Ares DNS lookup.
(use with caution on other systems).
CARES_CFLAGS
C compiler flags for CARES, overriding pkg-config
CARES_LIBS linker flags for CARES, overriding pkg-config

I don't want to overwrite/replace the existing one because I fear the
modern X509 extensions will break some things.

How do I tell configure where to look for the ca zoo file?

Jeff
Darshit Shah
2018-07-18 09:56:23 UTC
Permalink
At run time you can use the --ca-certificate option to pass the filename
Post by Jeffrey Walton
Hi Everyone,
I'm working on an ancient system. I need to bootstrap an updated Wget.
I installed a new ca-certs.pem in /usr/local/share. I need to tell
$ ./configure --help | grep -i ca
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
[/usr/local]
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--with-cares enable support for C-Ares DNS lookup.
(use with caution on other systems).
CARES_CFLAGS
C compiler flags for CARES, overriding pkg-config
CARES_LIBS linker flags for CARES, overriding pkg-config
I don't want to overwrite/replace the existing one because I fear the
modern X509 extensions will break some things.
How do I tell configure where to look for the ca zoo file?
Jeff
--
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6
Loading...