mirror of
https://github.com/webmin/webmin.git
synced 2026-06-20 11:20:30 +01:00
Generate new SHA2 key at install time
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -537,7 +537,7 @@ else
|
||||
if [ "$?" = "0" ]; then
|
||||
# We can generate a new SSL key for this host
|
||||
host=`hostname`
|
||||
openssl req -newkey rsa:2048 -x509 -nodes -out $tempdir/cert -keyout $tempdir/key -days 1825 >/dev/null 2>&1 <<EOF
|
||||
openssl req -newkey rsa:2048 -x509 -nodes -out $tempdir/cert -keyout $tempdir/key -days 1825 -sha256 >/dev/null 2>&1 <<EOF
|
||||
.
|
||||
.
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user