copy the SSL certificate for the host (generated or bought) and the key file to:
/data/unifi-core/config/unifi-core.crt
/data/unifi-core/config/unifi-core.key
reboot
Then for the Guest Portal a Java Keystore file is used.
password for keystore
aircontrolenterprise
openssl pkcs12 -export -in /data/unifi-core/config/unifi-core.crt -inkey /data/unifi-core/config/unifi-core.key -out unifi.p12 -name unifi -caname root
and then import the keystore
keytool -importkeystore -deststorepass aircontrolenterprise -destkeypass aircontrolenterprise -destkeystore /usr/lib/unifi/data/keystore -srckeystore unifi.p12 -srcstoretype PKCS12 -srcstorepass aircontrolenterprise -alias unifi
and just to make sure reboot
reboot
Set the "Profiles" > "Guest Hotspot" > "Advanced" to:
1: Manual
2: Ensure HTTPS Redirection is on
3: Redirect Using Hostname
4: insert the FQDN of the UDM-PRO (or matching Certificate name that can resolve)
No comments:
Post a Comment