Environment variables
Once Apache SSL is installed, a number of new environment variables will appear and can be used in CGI scripts (see Chapter 13). They are shown in Table 11-1.
Variable |
Value type |
Description |
|
flag |
HTTPS being used |
|
string |
SSL/TLS cipherspec |
|
string |
The same as |
|
string |
Self explanatory |
|
string |
Self explanatory |
|
number |
Number of bits in the session key |
|
number |
Number of bits in the secret key |
|
string |
DN in client’s certificate |
|
string |
Component of client’s DN, where
|
|
string |
DN of issuer of client’s certificate |
|
string |
Component of client’s issuer’s DN,
where |
|
string |
DN in server’s certificate |
|
string |
Component of server’s DN, where
|
|
string |
DN of issuer of server’s certificate |
|
string |
Component of server’s issuer’s DN,
where |
|
string |
Base64 encoding of client cert |
|
string |
Base64 encoding of client cert chain |
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.