mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-26 10:23:48 +01:00
Create certificates for unbound-control
This commit is contained in:
parent
fcf6cecef7
commit
850a1e68a6
@ -87,4 +87,8 @@ mkdir -p -m 700 /opt/unbound/etc/unbound/var && \
|
||||
chown _unbound:_unbound /opt/unbound/etc/unbound/var && \
|
||||
/opt/unbound/sbin/unbound-anchor -a /opt/unbound/etc/unbound/var/root.key
|
||||
|
||||
if [ ! -f /opt/unbound/etc/unbound/unbound_control.pem ]; then
|
||||
/opt/unbound/sbin/unbound-control-setup
|
||||
fi
|
||||
|
||||
exec /opt/unbound/sbin/unbound
|
||||
|
Loading…
Reference in New Issue
Block a user