From: Graham Leggett
If neither of the directives
If none of the directives
In some circumstances, it is useful to be able to send a set of
acceptable CA names which differs from the actual CAs used to verify
the client certificate - for example, if the client certificates are
-signed by intermediate CAs. In such cases,
When a client certificate is requested by mod_ssl, a list of +acceptable Certificate Authority names is sent to the client +in the SSL handshake. These CA names can be used by the client to +select an appropriate client certificate out of those it has +available.
+ +If none of the directives
In some circumstances, it is useful to be able to send a set of
+acceptable CA names which differs from the actual CAs used to verify
+the client certificate - for example, if the client certificates are
+signed by intermediate CAs. In such cases,
A file: URI pointing at a file of PEM encoded certificates
+can be used instead of
This store is read at server startup, while the server is still running
+as root (before privilege dropping), so it may be owned by
+and readable only by root. The uri is not re-read during
+normal operation; a server restart is required for changes to take
+effect.
A file: URI pointing at a file of PEM encoded CRLs
+can be used instead of
This URI is read at server startup, while the server is still running
as root (before privilege dropping), so it may be owned by
and readable only by root. The URI is not re-read during
diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c
index 20d3db1a0d..5d5efa2e8a 100644
--- a/modules/ssl/mod_ssl.c
+++ b/modules/ssl/mod_ssl.c
@@ -147,6 +147,9 @@ static const command_rec ssl_config_cmds[] = {
SSL_CMD_SRV(CADNRequestFile, TAKE1,
"SSL CA Distinguished Name file "
"('/path/to/file' - PEM encoded to derive acceptable CA names to request)")
+ SSL_CMD_SRV(CADNRequestURI, TAKE1,
+ "SSL CA Distinguished Name uri "
+ "('file:', 'pkcs11:' - URI of certificates to derive acceptable CA names to request)")
SSL_CMD_SRV(CARevocationURI, TAKE1,
"SSL CA Certificate Revocation List (CRL) uri "
"('file:', 'pkcs11:' - URI of CRLs)")