diff options
Diffstat (limited to 'src/mod_gnutls.c')
-rw-r--r-- | src/mod_gnutls.c | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/src/mod_gnutls.c b/src/mod_gnutls.c index 5ca198d..f9291f1 100644 --- a/src/mod_gnutls.c +++ b/src/mod_gnutls.c | |||
@@ -63,7 +63,15 @@ static const command_rec mgs_config_cmds[] = { | |||
63 | AP_INIT_TAKE1("GnuTLSClientCAFile", mgs_set_client_ca_file, | 63 | AP_INIT_TAKE1("GnuTLSClientCAFile", mgs_set_client_ca_file, |
64 | NULL, | 64 | NULL, |
65 | RSRC_CONF, | 65 | RSRC_CONF, |
66 | "Set the CA File for Client Certificates"), | 66 | "Set the CA File to verify Client Certificates"), |
67 | AP_INIT_TAKE1("GnuTLSDHFile", mgs_set_dh_file, | ||
68 | NULL, | ||
69 | RSRC_CONF, | ||
70 | "Set the file to read Diffie Hellman parameters from"), | ||
71 | AP_INIT_TAKE1("GnuTLSRSAFile", mgs_set_rsa_export_file, | ||
72 | NULL, | ||
73 | RSRC_CONF, | ||
74 | "Set the file to read RSA-EXPORT parameters from"), | ||
67 | AP_INIT_TAKE1("GnuTLSCertificateFile", mgs_set_cert_file, | 75 | AP_INIT_TAKE1("GnuTLSCertificateFile", mgs_set_cert_file, |
68 | NULL, | 76 | NULL, |
69 | RSRC_CONF, | 77 | RSRC_CONF, |
@@ -71,7 +79,15 @@ static const command_rec mgs_config_cmds[] = { | |||
71 | AP_INIT_TAKE1("GnuTLSKeyFile", mgs_set_key_file, | 79 | AP_INIT_TAKE1("GnuTLSKeyFile", mgs_set_key_file, |
72 | NULL, | 80 | NULL, |
73 | RSRC_CONF, | 81 | RSRC_CONF, |
74 | "SSL Server Certificate file"), | 82 | "SSL Server SRP Password file"), |
83 | AP_INIT_TAKE1("GnuTLSSRPPasswdFile", mgs_set_srp_tpasswd_file, | ||
84 | NULL, | ||
85 | RSRC_CONF, | ||
86 | "SSL Server SRP Password Conf file"), | ||
87 | AP_INIT_TAKE1("GnuTLSSRPPasswdConfFile", mgs_set_srp_tpasswd_conf_file, | ||
88 | NULL, | ||
89 | RSRC_CONF, | ||
90 | "SSL Server SRP Parameters file"), | ||
75 | AP_INIT_TAKE1("GnuTLSCacheTimeout", mgs_set_cache_timeout, | 91 | AP_INIT_TAKE1("GnuTLSCacheTimeout", mgs_set_cache_timeout, |
76 | NULL, | 92 | NULL, |
77 | RSRC_CONF, | 93 | RSRC_CONF, |
@@ -80,10 +96,19 @@ static const command_rec mgs_config_cmds[] = { | |||
80 | NULL, | 96 | NULL, |
81 | RSRC_CONF, | 97 | RSRC_CONF, |
82 | "Cache Configuration"), | 98 | "Cache Configuration"), |
99 | AP_INIT_RAW_ARGS("GnuTLSPriorities", mgs_set_priorities, | ||
100 | NULL, | ||
101 | RSRC_CONF, | ||
102 | "The priorities to enable (ciphers, Key exchange, macs, compression)"), | ||
83 | AP_INIT_TAKE1("GnuTLSEnable", mgs_set_enabled, | 103 | AP_INIT_TAKE1("GnuTLSEnable", mgs_set_enabled, |
84 | NULL, | 104 | NULL, |
85 | RSRC_CONF, | 105 | RSRC_CONF, |
86 | "Whether this server has GnuTLS Enabled. Default: Off"), | 106 | "Whether this server has GnuTLS Enabled. Default: Off"), |
107 | AP_INIT_TAKE1("GnuTLSExportCertificates", mgs_set_export_certificates_enabled, | ||
108 | NULL, | ||
109 | RSRC_CONF, | ||
110 | "Whether to export PEM encoded certificates to CGIs. Default: Off"), | ||
111 | #if 0 | ||
87 | AP_INIT_RAW_ARGS("<GnuTLSRequire", mgs_set_require_section, | 112 | AP_INIT_RAW_ARGS("<GnuTLSRequire", mgs_set_require_section, |
88 | NULL, | 113 | NULL, |
89 | EXEC_ON_READ|OR_ALL, | 114 | EXEC_ON_READ|OR_ALL, |
@@ -92,6 +117,7 @@ static const command_rec mgs_config_cmds[] = { | |||
92 | NULL, | 117 | NULL, |
93 | OR_ALL, | 118 | OR_ALL, |
94 | "Internal Command for reading Lua Bytecode."), | 119 | "Internal Command for reading Lua Bytecode."), |
120 | #endif | ||
95 | {NULL} | 121 | {NULL} |
96 | }; | 122 | }; |
97 | 123 | ||