Reference
new ssl ca-file
On this page
Available since
- HAProxy 2.5
- HAProxy Enterprise 2.5r1
Create a new empty CA file.
Description Jump to heading
Create a new empty CA file. This file can be filled with CA certificates using set ssl ca-file
(and as of version 2.7r1
, add ssl ca-file
) before being committed with commit ssl ca-file
and then added to a crt-list with add ssl crt-list
.
Examples Jump to heading
Create CA file intermediate-ca.crt
and then list it using show ssl ca-file
.
nix
echo -e "new ssl ca-file intermediate-ca.crt" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo -e "new ssl ca-file intermediate-ca.crt" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
outputtext
New CA file created 'intermediate-ca.crt'!
outputtext
New CA file created 'intermediate-ca.crt'!
nix
echo "show ssl ca-file" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show ssl ca-file" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
outputtext
# filename/etc/hapee-3.0/combined-ca.crt - 2 certificate(s)@system-ca - 124 certificate(s)intermediate-ca.crt - 0 certificate(s)
outputtext
# filename/etc/hapee-3.0/combined-ca.crt - 2 certificate(s)@system-ca - 124 certificate(s)intermediate-ca.crt - 0 certificate(s)
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?