From 8c341592cc392ed85283733ece048e34fb53a386 Mon Sep 17 00:00:00 2001 From: ROTTLER Tamas Date: Fri, 16 Oct 2026 15:05:34 +0200 Subject: [PATCH] removed ocsp-stapling --- www-create-site | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/www-create-site b/www-create-site index 98c79d8..9a744c1 100755 --- a/www-create-site +++ b/www-create-site @@ -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; },