HAProxy Enterprise Documentation 2.1r1
abort ssl cert
Abort an SSL certificate transaction.
HAProxy Enterprise can update an SSL certificate that it loaded into memory at startup. The normal workflow to update a certificate is:
Start a transaction that uploads the local certificate file into memory using
set ssl cert.
Commit the transaction to finalize the upload using
commit ssl cert.
abort ssl cert to cancel the transaction instead.
This example begins a transaction to load a certificate into HAProxy Enterprise's runtime memory, but then cancels it with the
abort ssl cert command.
$ echo -e "set ssl cert /etc/hapee-2.1/certs/site.pem <<\n$(cat ./new_certificate.pem)\n" | socat stdio tcp4-connect:127.0.0.1:9999
$ echo "abort ssl cert /etc/hapee-2.1/certs/site.pem" | socat stdio tcp4-connect:127.0.0.1:9999
Next up Lua scripts