What you'll learn
- How to test servers that use SSL/TLS client certificate authentication with Artillery
This plugin is part of Artillery Pro and does not need to be installed separately.
Client certificate authentication is a mechanism to restrict access to HTTP resources to clients that possess a certificate. This authentication method is frequently employed in enterprise applications.
To configure SSL client authentication provide the key and the certificate to be used in TLS settings and enable the SSL client auth plugin in
# Can useful for testing, should not be used in production:
# Specify client key and certificate:
# Enable the plugin:
Once configured, all requests will use the provided key and certificate for authentication.
PEM key password
You can provide a password for the key with the
Disabling SSL auth selectively
To specify that a request should not use SSL client auth, set
sslAuth: false # ignore SSL client auth settings