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.
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 the following table. |
HTTPS_KEYSIZE | Indicates the size of the key. | See the following table. |
HTTPS_SECRETKEYSIZE | Indicates the strength of the key. | See the following table. |
SSL_PROTOCOL_VERSION | Contains the protocol version. |
|
Cipher suite | Key size | Secret key size |
---|---|---|
SSL_RSA_WITH_NULL_MD5 | 0 | 0 |
SSL_RSA_WITH_NULL_SHA | 0 | 0 |
SSL_RSA_EXPORT_WITH_RC4_40_ MD5 | 128 | 40 |
SSL_RSA_WITH_RC4_128_MD5 | 128 | 128 |
SSL_RSA_WITH_RC4_128_SHA | 128 | 128 |
SSL_RSA_EXPORT_WITH_RC2_ CBC_40_MD5 | 128 | 40 |
SSL_RSA_WITH_DES_CBC_SHA | 64 | 56 |
SSL_RSA_WITH_3DES_EDE_CBC_ SHA | 192 | 168 |
SSL_NULL_WITH_NULL_NULL | 0 | 0 |
TLS_RSA_EXPORT1024_WITH_ RC4_56_SHA | 56 | 20 |
TLS_RSA_EXPORT1024_WITH_ DES_CBC_SHA | 56 | 20 |
Cipher suite | Key size | Secret key size |
---|---|---|
RC4_128_WITH_MD5 | 128 | 128 |
RC4_128_EXPORT40_WITH_MD5 | 128 | 40 |
RC2_128_CBC_WITH_MD5 | 128 | 128 |
RC2_128_CBC_EXPORT40_WITH_ MD5 | 128 | 40 |
DES_64_CBC_WITH_MD5 | 64 | 56 |
DES_192_EDE3_CBC_WITH_MD5 | 192 | 168 |