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-2.8/ssl-certs/example.com.pem" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "del ssl cert /etc/hapee-2.8/ssl-certs/example.com.pem" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

You cannot delete a certificate if it is included in a crt-list file or if it is referenced directly on a bind line with the crt parameter.

See also Jump to heading

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