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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access