Client certificate environment variables
Client certificate environment variables are used to access client certificate information when client authentication is enabled. If client authentication is not enabled, references to these values are empty.
Variables
The following table provides a list of client certificate environment variables and their descriptions and values.
SSL client certificate environment variable | Description | Value |
---|---|---|
SSL_CLIENT_C | Contains the client certificate country | String |
SSL_CLIENT_CERTBODY | Contains the client certificate | This value is the unformatted body of the client certificate, if a certificate was provided by the client |
SSL_CLIENT_CERTBODYLEN | Contains the length of the client certificate | Integer |
SSL_CLIENT_CN | Contains the client certificate common name | String |
SSL_CLIENT_DN | Contains the distinguished name from the client certificate | String |
SSL_CLIENT_EMAIL | Contains the client certificate e-mail | String |
SSL_CLIENT_IC | Contains the country name of the client certificate issuer | String |
SSL_CLIENT_ICN | Contains the common name of the client certificate issuer | String |
SSL_CLIENT_IDN | Contains the distinguished name of the client certificate issuer | String |
SSL_CLIENT_IEMAIL | Contains the e-mail address of the client certificate issuer | String |
SSL_CLIENT_IL | Contains the locality of the client certificate issuer | String |
SSL_CLIENT_IO | Contains the organization name of the client certificate issuer | String |
SSL_CLIENT_IOU | Contains the organizational unit name of the client certificate issuer | String |
SSL_CLIENT_IPC | Contains the postal code of the client certificate issuer | String |
SSL_CLIENT_IST | Contains the state or province of the client certificate issuer | String |
SSL_CLIENT_L | Contains the client certificate locality | String |
SSL_CLIENT_NEWSESSIONID | Indicates whether this session ID is new | String. This value must be TRUE or FALSE. |
SSL_CLIENT_O | Contains the client certificate organization | String |
SSL_CLIENT_OU | Contains the client certificate organizational unit | String |
SSL_CLIENT_PC | Contains the client certificate postal code | String |
SSL_CLIENT_SERIALNUM | Contains the client certificate serial number | String |
SSL_CLIENT_SESSIONID | Contains the session ID | String |
SSL_CLIENT_ST | Contains the client certificate state or province | String |
SSL_CLIENT_SHA1 | Contains the SHA1 fingerprint of the client certificate | String |
SSL_CLIENT_SHA256 | Contains the SHA256 fingerprint of the client certificate | String |