X509 Certificate Extractor
Configuration reference for the X509 Certificate Extractor Pipes valve and its supported options.
Introduction
Section titled “Introduction”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".
Configuration
Section titled “Configuration”| Name | Description | Default | Mandatory | Expanded |
|---|---|---|---|---|
src | X509 certificate in PEM format. | |||
prefix | Item property name prefix. | "cert_" |
{ "name" : "X509CertificateExtractor", "config" : { "src" : "pem", "prefix" : "cert_" }}