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.
Table 11-1. Apache v1.3 environment variables
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 |