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

Commit d88e96f

Browse files
committed
Add SAN to cert
1 parent 674a8a7 commit d88e96f

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
@@ -78,7 +78,7 @@ fi
7878
if [[ ! -f /config/data/keystore ]]; then
7979
keytool -genkey -keyalg RSA -alias unifi -keystore /config/data/keystore \
8080
-storepass aircontrolenterprise -keypass aircontrolenterprise -validity 3650 \
81-
-keysize 4096 -dname "cn=unifi"
81+
-keysize 4096 -dname "cn=unifi" -ext san=dns:unifi
8282
fi
8383

8484
# permissions

0 commit comments

Comments
 (0)