Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit b1d589f

Browse files
committed
Add SAN to cert
1 parent 4711b3f commit b1d589f

File tree

1 file changed

+1
-1
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-unifi-controller-config

1 file changed

+1
-1
lines changed

root/etc/s6-overlay/s6-rc.d/init-unifi-controller-config/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fi
8383
if [[ ! -f /config/data/keystore ]]; then
8484
keytool -genkey -keyalg RSA -alias unifi -keystore /config/data/keystore \
8585
-storepass aircontrolenterprise -keypass aircontrolenterprise -validity 3650 \
86-
-keysize 4096 -dname "cn=unifi"
86+
-keysize 4096 -dname "cn=unifi" -ext san=dns:unifi
8787
fi
8888

8989
# permissions

0 commit comments

Comments
 (0)