My configuration
Haproxy version - 2.1.4
global
log _log local0 debug
stats socket haproxy.sock level admindefaults
log global
mode http
option httplog
timeout connect 10s
timeout client 30s
timeout server 30slisten stats
bind :1936
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /frontend website
bind :8998 ssl crt finalcert.pem
default_backend goserverbackend goserver
balance roundrobin
option httpchk GET /
server server1 127.0.0.1:8999 check maxconn 30
When I have new certificates
I tried this
echo -e “set ssl cert finalcert.pem <<\n$(cat <dir_path>/morecertificates.pem)\n” | socat stdio haproxy.sock
echo “commit ssl cert finalcert.pem” | socat stdio haproxy.sock
The morecertificates.pem = finalcert.pem+
Would the above commands add the certificate to the runtime?