source: package_branches/invirt-web/hvirt/files/etc/apache2/conf.invirt/certs.mako @ 3014

Last change on this file since 3014 was 2922, checked in by gdb, 15 years ago

Updated mako templates

File size: 480 bytes
Line 
1<%page args="cfg, invirt_ssl" />
2
3% if cfg.web.sites.certs.port not in [80, 443]:
4  Listen ${cfg.web.sites.certs.port}
5% endif
6<VirtualHost *:${cfg.web.sites.certs.port}>
7        ServerAdmin ${cfg.web.errormail}
8        ServerName ${cfg.web.hostname}:${cfg.web.sites.certs.port}
9        <%call expr="invirt_ssl()">
10                Require valid-user
11                AuthType SSLCert
12                AuthSSLCertVar SSL_CLIENT_S_DN_Email
13                AuthSSLCertStripSuffix "${cfg.web.sites.certs.suffix}"
14        </%call>
15        SSLVerifyClient require
16</VirtualHost>
Note: See TracBrowser for help on using the repository browser.