Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4722

Hot update client certs

$
0
0

My configuration
Haproxy version - 2.1.4

global
log _log local0 debug
stats socket haproxy.sock level admin

defaults
log global
mode http
option httplog
timeout connect 10s
timeout client 30s
timeout server 30s

listen 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 goserver

backend 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?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>