Reference

del ssl cert

Available since

  • HAProxy 2.2
  • HAProxy Enterprise 2.2r1

Delete a single SSL certificate from memory.

Description Jump to heading

This command deletes a single SSL certificate.

Examples Jump to heading

In this example, we remove the SSL certificate for example.com:

nix
echo "del ssl cert /etc/hapee-3.2/ssl-certs/example.com.pem" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "del ssl cert /etc/hapee-3.2/ssl-certs/example.com.pem" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

You can’t delete a certificate if any of these conditions are true:

  • It’s included in a crt-list file.
  • It’s referenced directly on a bind line with the crt parameter.
  • It’s been added for JWT validation with add ssl jwt (HAProxy Runtime API 3.3 and newer).

See also Jump to heading

Do you have any suggestions on how we can improve the content of this page?