sthen 2ccda23352 update unifi stable to 5.12.66, testing to 5.13.10 (you will need a
beta login to download that), and drop a file that was used in the
attempt at working with newer java (which didn't work too well and the
old source for that file has gone away)
2020-03-24 14:54:27 +00:00
..

$OpenBSD: README,v 1.3 2019/08/29 18:58:49 sthen Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

If using UniFi on a system with other threaded programs, it is likely that
sysctl kern.maxthread would need to be increased from the default (usually
done in /etc/sysctl.conf)..

After installing and starting UniFi, connect to https://localhost:8443/ to
configure. (Additional ports are used for AP<>controller communications).

WARNING: In this LTS version of UniFi, the admin password is available
to localhost users without authentication:
$ echo 'db.admin.find()' | mongo --quiet 127.0.0.1:27117/ace

To import your own signed SSL key/certificate:

# rcctl stop unifi
# cd ${TRUEPREFIX}/share/unifi/data
# openssl pkcs12 -export -in /etc/ssl/server.crt \
   -inkey /etc/ssl/private/server.key \
   -certfile /etc/ssl/intermediate.crt -out unifi.p12 \
   -name unifi -password pass:aircontrolenterprise
# $JAVAHOME/bin/keytool -importkeystore -srckeystore unifi.p12 \
   -srcstoretype PKCS12 -srcstorepass aircontrolenterprise \
   -destkeystore keystore.new -storepass aircontrolenterprise
# rcctl start unifi