SSL handshake environment variables
Secure Sockets Layer (SSL) handshake environment variables are used to access server certificate information. When an SSL handshake is successfully completed, the SSL handshake environment variables are automatically set.
Variables
SSL handshake environment variable | Description | Value |
---|---|---|
HTTPS | Indicates SSL connection | String contains either ON, for an SSL connection, or OFF, if not. |
HTTPS_CIPHER | Contains the cipher used in the SSL handshake. | See Table 1 in SSL cipher specifications. |
HTTPS_KEYSIZE | Indicates the size of the key. | String contains the key size of the cipher. |
HTTPS_SECRETKEYSIZE | Indicates the strength of the key. | String contains the secret key size of the cipher. |
SSL_PROTOCOL_VERSION | Contains the protocol version. |
String contains either SSLV2, SSLV3, or TLSV1 for Transport Layer Security (TLS) Version 1.0). String contains SSLV2, SSLV3, TLSV1 for TLS Version 1.0, or TLSV1.1 for TLS Version 1.1. |
Related reference