removed ocsp-stapling
This commit is contained in:
parent
fcfb3101ce
commit
8c341592cc
@ -203,13 +203,6 @@ sub apache {
|
||||
$c .= " SSLEngine on\n".
|
||||
" SSLCertificateFile $self->{tlscrt}\n".
|
||||
" SSLCertificateKeyFile $self->{tlskey}\n";
|
||||
if ($self->{use_ocsp_stapling}) {
|
||||
$c.=" SSLUseStapling on\n".
|
||||
" SSLStaplingReturnResponderErrors off\n".
|
||||
" SSLStaplingFakeTryLater off\n".
|
||||
" SSLStaplingStandardCacheTimeout 86400\n".
|
||||
" SSLStaplingResponderTimeout 2\n";
|
||||
}
|
||||
$c .= " ServerName $self->{domains}->[0]\n";
|
||||
for (my $i = 1; $i < scalar @{$self->{domains}}; $i++) {
|
||||
$c.=" ServerAlias $self->{domains}->[$i]\n\n";
|
||||
@ -304,7 +297,6 @@ $self = {
|
||||
defcert_name => find_defcert,
|
||||
no_dnscheck => 0,
|
||||
itk_assignuser => 0,
|
||||
use_ocsp_stapling => 1,
|
||||
php_fpm => 'off',
|
||||
quota => 'off',
|
||||
logfile => '/var/log/www-create-site.log',
|
||||
@ -320,8 +312,6 @@ sub usage {
|
||||
" --mysqlrootpw PASSWD mysql root password (default: read from file)\n".
|
||||
" --defcert skip letsencrypt, use server's cert: $self->{defcert_name}\n".
|
||||
" --no-dns-check skip dns check (with implicit --defcert)\n".
|
||||
" --[no]ocsp-stapling set SSLUseStapling on (default: ".
|
||||
($self->{use_ocsp_stapling} ? 'yes' : 'no') .")\n".
|
||||
" --[no]itk-assignuser use mpm-itk AssignUserId (default: ".
|
||||
($self->{itk_assignuser} ? 'yes' : 'no') .")\n".
|
||||
" --php-fpm {off|VER} create PHP FPM configuration (default: $self->{php_fpm})\n".
|
||||
@ -346,8 +336,6 @@ GetOptions(
|
||||
"no-dns-check" => \$self->{no_dnscheck},
|
||||
"itk-assignuser" => \$self->{itk_assignuser},
|
||||
"no-itk-assignuser" => sub { $self->{itk_assignuser} = 0; },
|
||||
"ocsp-stapling" => \$self->{use_ocsp_stapling},
|
||||
"no-ocsp-stapling" => sub { $self->{use_ocsp_stapling} = 0; },
|
||||
"php-fpm=s" => \$self->{php_fpm},
|
||||
"adminurl" => \$self->{use_admin},
|
||||
"noadminurl" => sub { $self->{use_admin} = 0; },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user