mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-02 21:09:35 -05:00
remove permissions from others.
git-svn-id: file:///svn/unbound/trunk@1371 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
576fe7d4c8
commit
32f6afbb48
2 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
21 November 2008: Wouter
|
||||
- fixed tcp accept, errors were printed when they should not.
|
||||
- unbound-control-setup.sh removes read/write permissions other
|
||||
from the keys it creates (as suggested by Dmitriy Demidov).
|
||||
|
||||
20 November 2008: Wouter
|
||||
- fixup fatal error due to faulty error checking after tcp accept.
|
||||
|
|
|
|||
|
|
@ -142,6 +142,9 @@ test -f $CTL_BASE.pem || error "could not create $CTL_BASE.pem"
|
|||
# echo "empty password is used, simply click OK on the password dialog box."
|
||||
# openssl pkcs12 -export -in $CTL_BASE"_trust.pem" -inkey $CTL_BASE.key -name "unbound remote control client cert" -out $CTL_BASE"_browser.pfx" -password "pass:" || error "could not create browser certificate"
|
||||
|
||||
# remove unused permissions
|
||||
chmod o-rw $SVR_BASE.pem $SVR_BASE.key $CTL_BASE.pem $CTL_BASE.key
|
||||
|
||||
# remove crap
|
||||
rm -f request.cfg
|
||||
rm -f $CTL_BASE"_trust.pem" $SVR_BASE"_trust.pem" $SVR_BASE"_trust.srl"
|
||||
|
|
|
|||
Loading…
Reference in a new issue