diff options
| author | Jerome Forissier <[email protected]> | 2025-03-05 15:26:42 +0100 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2025-03-11 14:16:03 +0100 |
| commit | 2df965d385872b2ae49a79c2cab4679a8999467f (patch) | |
| tree | 98e155e93f866b6376f1474e232085b7937e7d1f /lib | |
| parent | 64ce9bfc6d53423d4f6d382837a33c3dffb152af (diff) | |
net: lwip: extend wget to support CA (root) certificates
Add the "cacert" (Certification Authority certificates) subcommand to
wget to pass root certificates to the code handling the HTTPS protocol.
The subcommand is enabled by the WGET_CACERT Kconfig symbol.
Usage example:
=> dhcp
# Download some root certificates (note: not authenticated!)
=> wget https://cacerts.digicert.com/DigiCertTLSECCP384RootG5.crt
# Provide root certificates
=> wget cacert $fileaddr $filesize
# Enforce verification (it is optional by default)
=> wget cacert required
# Forget the root certificates
=> wget cacert 0 0
# Disable verification
=> wget cacert none
Signed-off-by: Jerome Forissier <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
