X509 Certificate Extractor
Valve for extracting X.509 certificate attributes
Valve for extracting X.509 certificate attributes
Use this valve to extract attributes from a X.509 v3 certificate.
Valve operates on current item set and extracted attributes will added as properties on the current item. If no item exist a new will be created using certificate subject as identifier.
The following attributes are extracted:
subject
issuer
serialNumber
notBefore
notAfter
subjectAltNames
publicKey
publicKeyAlgorithm
publicKeyFormat
publicKeyType (only RSA)
publicKeySize (only RSA)
crlDistributionPoints
ocspLocations
ocspIssuers
basicConstraints
sigAlgName
sigAlgOid
keyUsage
extKeyUsage
Item properties are prefixed (default "cert_"
) to avoid affection existing properties.
Certificate attributes with multiple values are added as multi valued item properties.
Certificate attributes that contain name-value pairs (like subjectAltNames) are added as multi-valued name-value string in format "name=value"
.
src
X509 certificate in PEM format.
prefix
Item property name prefix.
"cert_"