Webapps framework for SME Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
383 B

{
if (-e '/etc/pki/tls/certs/cacert.pem'){
$OUT .= "# CA Certificate used for client authentication\n";
$OUT .= "SSLCACertificateFile /etc/pki/tls/certs/cacert.pem\n";
}
else{
$OUT .= '';
}
if (-e '/etc/pki/tls/crl/cacrl.pem'){
$OUT .= "# CA CRL to check revoked client certificates\n";
$OUT .= "SSLCARevocationFile /etc/pki/tls/crl/cacrl.pem\n";
}
else{
$OUT .= '';
}
}