Reference

add ssl jwt

Available since

  • HAProxy 3.3

Add an SSL certificate for use in JSON Web Token (JWT) validation.

Description Jump to heading

Add an SSL certificate to the list of certificates that can be used for JWT validation. The certificate must already be loaded.

This command doesn’t work on ongoing transactions.

Examples Jump to heading

Add SSL certificate new_cert_for_jwt.pem to the list of certificates for use in JWT validation:

nix
echo -e "add ssl jwt /etc/haproxy/certs/new_cert_for_jwt.pem" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo -e "add ssl jwt /etc/haproxy/certs/new_cert_for_jwt.pem" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

See also Jump to heading

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