CertificateGeneratorValve
Valve for generating self-signed X.509 certificates.
The generated certificate and private key will be added to a key store, put in an item property defined by configuration property ‘dest’.
Note: Generated key pair will be of type RSA and size 2048. Certificate is valid for one year (not configurable in this version).
Properties
Example Configuration
{
"name": "CertificateGeneratorValve",
"enabled": "true",
"config": {
"dest": "keystore",
"keystore_format": "JKS",
"keystore_password": "{enc}iLshlMBuAOrybFnFztw02GCgP385ptNkyNjMa7cu7Y0=",
"keystore_alias": "key",
"cert_subject_dn": "CN=localhost",
"cert_is_ca": "false",
"cert_key_usage": "true,false,true"
}
}