Update rewrite ruls to handled encrypted and signed files
Add certutils from usecallmanager.nz Add etc/certs directory
This commit is contained in:
7
etc/certs/encrypt
Executable file
7
etc/certs/encrypt
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -gt 0 ]; then
|
||||
# Encrypt SEPMAC.cnf.xml
|
||||
openssl enc -aes-256-cbc -salt -in ../../tftpboot/settings/${1} -out ../../tftpboot/settings/${1}.enc -k tftp.pem
|
||||
../../tools/certutils/sgnfile -b ../../tftpboot/settings/${1}.enc -c tftp.pem
|
||||
fi
|
Reference in New Issue
Block a user