Environment variables
This module provides a lot of SSL information as additional environment variables to the SSI and CGI namespace. The generated variables are listed in Table 11-2. For backward compatibility the information can be made available under different names, too.
Variable |
Value type |
Description |
|
flag |
HTTPS being used |
|
string |
The SSL protocol version (SSL v2, SSL v3, TLS v1) |
|
string |
The hex-encoded SSL session ID |
|
string |
The cipher specification name |
|
string |
True if cipher is an export cipher |
|
number |
Number of cipher bits actually used |
|
number |
Number of cipher bits possible |
|
string |
The mod_ssl program version |
|
string |
The OpenSSL program version |
|
string |
The version of the client certificate |
|
string |
The serial of the client certificate |
|
string |
Subject DN in client’s certificate |
|
string |
Component of client’s Subject DN, where
|
|
string |
Issuer DN of a client’s certificate |
|
string |
Component of client’s Issuer DN, where
|
|
string |
Validity of client’s certificate (start time) |
|
string |
Validity of client’s ... |
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.