mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix to drop debug lines
This commit is contained in:
2
setup.pl
2
setup.pl
@@ -491,7 +491,7 @@ else {
|
||||
$host = &get_system_hostname();
|
||||
$cert = &tempname();
|
||||
$key = &tempname();
|
||||
open(SSL, "| openssl req -newkey rsa:2048 -x509 -nodes -out $cert -keyout $key -days 1825 -sha256 -subj '/CN=$host/C=US/L=Santa Clara' -addext 'authorityKeyIdentifier=keyid,issuer' -addext 'basicConstraints=CA:FALSE' -addext keyUsage=digitalSignature,nonRepudiation,keyEncipherment,dataEncipherment -addext subjectAltName=DNS:$host,DNS:localhost >/dev/null 2>&1");
|
||||
open(SSL, "| openssl req -newkey rsa:2048 -x509 -nodes -out $cert -keyout $key -days 1825 -sha256 -subj '/CN=$host/C=US/L=Santa Clara' -addext subjectAltName=DNS:$host,DNS:localhost >/dev/null 2>&1");
|
||||
print SSL ".\n";
|
||||
print SSL ".\n";
|
||||
print SSL ".\n";
|
||||
|
||||
2
setup.sh
2
setup.sh
@@ -599,7 +599,7 @@ else
|
||||
openssl version >/dev/null 2>&1
|
||||
if [ "$?" = "0" ]; then
|
||||
# We can generate a new SSL key for this host
|
||||
openssl req -newkey rsa:2048 -x509 -nodes -out $tempdir/cert -keyout $tempdir/key -days 1825 -sha256 -subj "/CN=$host/C=US/L=Santa Clara" -addext 'authorityKeyIdentifier=keyid,issuer' -addext 'basicConstraints=CA:FALSE' -addext keyUsage=digitalSignature,nonRepudiation,keyEncipherment,dataEncipherment -addext subjectAltName=DNS:$host,DNS:localhost >/dev/null 2>&1 <<EOF
|
||||
openssl req -newkey rsa:2048 -x509 -nodes -out $tempdir/cert -keyout $tempdir/key -days 1825 -sha256 -subj "/CN=$host/C=US/L=Santa Clara" -addext subjectAltName=DNS:$host,DNS:localhost >/dev/null 2>&1 <<EOF
|
||||
.
|
||||
.
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user