Skip to content

Commit fb94e97

Browse files
Change SSL certificate and key file permissions
Updated file permissions for SSL certificate and key.
1 parent 0cd6714 commit fb94e97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/cont-init.d/01-named.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ chmod 640 /etc/bind/rndc.key
3333
log "TLS Dot"
3434
mkdir -p /etc/ssl/bind/
3535
chown -R named:named /etc/ssl/bind
36-
chmod 644 "/etc/ssl/bind/server.crt"
37-
chmod 640 "/etc/ssl/bind/server.key"
36+
chmod 644 "/etc/ssl/bind/cert.pem"
37+
chmod 640 "/etc/ssl/bind/key.pem"
3838

3939
log "Check configuration before starting"
4040
named-checkconf /etc/bind/named.conf

0 commit comments

Comments
 (0)