HAProxy Enterprise Documentation 2.5r1

new ssl ca-file

Create a new empty CA file.

Description

Create a new empty CA file. This file can be filled with CA certificates using set ssl ca-file

before being committed with commit ssl ca-file and then added to a crt-list with add ssl crt-list.

Examples

Create CA file intermediate-ca.crt and then list it using show ssl ca-file.

$ echo -e "new ssl ca-file intermediate-ca.crt" | \
   sudo socat stdio unix-connect:/var/run/hapee-2.5/hapee-lb.sock
New CA file created 'intermediate-ca.crt'!
$  echo "show ssl ca-file" | \
    sudo socat stdio unix-connect:/var/run/hapee-2.5/hapee-lb.sock
# filename
/etc/hapee-2.5/combined-ca.crt - 2 certificate(s)
@system-ca - 124 certificate(s)
intermediate-ca.crt - 0 certificate(s)

See also


Next up

new ssl cert