+

Search Tips   |   Advanced Search

Home

 

SSL handshake environment variables

SSL handshake environment variables are used to access server certificate information. When an SSL handshake is successfullycompleted, the SSL handshake environment variables are automatically set.

 

Variables

The following table provides a list of SSL handshake environment variables with their descriptions and values.

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 table below.
HTTPS_KEYSIZE Indicates the size of the key. See the table below.
HTTPS_SECRETKEYSIZE Indicates the strength of the key. See the table below.
SSL_PROTOCOL_VERSION Contains the protocol version. String contains either SSLV2, SSLV3, or TLSV1.

The following table provides a list of variables for HTTPS_KEYSIZE and HTTPS_SECRETKEYSIZE in SSL V3 and Transport Layer Security V1

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

The following table provides a list of variables for HTTPS_CIPHER in SSL V2.

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


 

Related concepts

SSL environment variables

 

Related reference

Server certificate environment variables

Client certificate environment variables