]>
Commit | Line | Data |
---|---|---|
346445af AG |
1 | #LoadModule gnutls_module modules/mod_gnutls.so |
2 | ||
3 | # This is the Apache server configuration file providing TLS support. | |
4 | # It contains the configuration directives to instruct the server how to | |
5 | # serve pages over an https connection. For detailing information about these | |
6 | # directives see <URL:http://www.outoforder.cc/projects/apache/mod_gnutls/docs> | |
7 | ||
8 | <IfModule mod_gnutls.c> | |
9 | ||
10 | # | |
11 | # When we also provide TLL we have to listen to the | |
12 | # standard HTTP port (see above) and to the HTTPS port | |
13 | # | |
14 | # Note: Configurations that use IPv6 but not IPv4-mapped addresses need two | |
15 | # Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443" | |
16 | # | |
17 | Listen 443 | |
18 | ||
19 | AddType application/x-x509-ca-cert .crt | |
20 | AddType application/x-pkcs7-crl .crl | |
21 | ||
22 | ## | |
23 | ## TLS Virtual Host Context | |
24 | ## | |
25 | ||
ac99bcbb | 26 | <VirtualHost _default_:443> |
346445af AG |
27 | |
28 | # TLS Engine Switch: | |
29 | # Enable/Disable TLS for this virtual host. | |
30 | GnuTLSEnable on | |
31 | ||
32 | # PEM Encoded Server Certificate | |
33 | GnuTLSCertificateFile /etc/httpd/tls/vhost1.crt | |
34 | ||
35 | # Server Private Key (keep secret!) | |
36 | GnuTLSKeyFile /etc/httpd/tls/vhost1.key | |
37 | ||
38 | # ServerName | |
39 | # ServerName vhost1.example.com | |
40 | ||
41 | </VirtualHost> | |
42 | ||
43 | </IfModule> |