Older versionPhenixID server 2.6x509CreateShortTermKeyStoreValve

CreateShortTermKeyStoreValve

Generates a key pair that only lives within the system for 2 minutes.

The generated certificate and private key will be added to a key store where the id is added to item property keyStoreId.

Note: Generated key pair will be of type RSA and size 2048. Certificate valid for one year.  (not configurable in this version).

Properties

Name Description Default value Mandatory Supports property expansion
subjectKeyParamater The subject to use when generating a keystore Yes Yes
caTemplateKeyParamater reference to internal CA Yes No
keyUsage What extensions to add in the certificate formated as string array Yes No

Example Configuration

{

"name" : "CreateShortTermKeyStoreValve",
"enabled" : "true",
"config" : {
"subjectKeyParamater" : "cn={{item.uid}},O=phenixid",
"caTemplateKeyParamater" : "signca",
"keyUsage" : [ "true", "true" ]
}
}

Requirements

One item must be present.