HAProxy Enterprise Documentation 2.2r1

abort ssl cert

Abort an SSL certificate transaction.

Description

HAProxy Enterprise can update an SSL certificate that it loaded into memory at startup. The normal workflow to update a certificate is:

  1. Start a transaction that uploads the local certificate file into memory using set ssl cert.

  2. Commit the transaction to finalize the upload using commit ssl cert.

Use abort ssl cert to cancel the transaction instead.

Examples

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.2/certs/site.pem <<\n$(cat ./new_certificate.pem)\n" | \
   sudo socat stdio unix-connect:/var/run/hapee-2.2/hapee-lb.sock

$ echo "abort ssl cert /etc/hapee-2.2/certs/site.pem" | \
   sudo socat stdio unix-connect:/var/run/hapee-2.2/hapee-lb.sock

See also


Next up

add acl