mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
12712 adding legacy to openssl
This commit is contained in:
parent
8d3a7e6a7f
commit
114d0a4910
@ -850,6 +850,11 @@ systemctl enable postfix --now &>> "$LOGFILE"
|
||||
systemctl disable --now snmptrapd &>> "$LOGFILE"
|
||||
systemctl disable --now snmptrapd.socket &>> "$LOGFILE"
|
||||
|
||||
# Adding legacy to openssl
|
||||
sed -i '/default = default_sect/a legacy = legacy_sect' /etc/ssl/openssl.cnf
|
||||
sed -i 's/# activate = 1/activate = 1/' /etc/ssl/openssl.cnf
|
||||
sed -i '/activate = 1/a [legacy_sect]\nactivate = 1' /etc/ssl/openssl.cnf
|
||||
|
||||
#SSH banner
|
||||
[ "$(curl -s ifconfig.me)" ] && ipplublic=$(curl -s ifconfig.me)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user