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