sthen d9b38220e3 tweaks to unifi port:
- pre-create additional directories to ensure correct ownership
- depend on java 8 (if you have both 7 and 8 installed, it's awkward
to uninstall 7 to force 8 if you have any packages setup for 1.6+ or
1.7+ ports)

also note: I'm seeing some problems on one machine with unifi 4.8.14
(though another is ok), be sure to backup before upgrading from an
earlier working version.
2016-03-02 22:45:44 +00:00
..
2015-09-21 10:22:28 +00:00
2015-11-02 12:26:31 +00:00
2016-03-02 22:45:44 +00:00

$OpenBSD: README,v 1.2 2015/12/12 13:15:34 sthen Exp $

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

WARNING: UniFi admin password is available without authentication to localhost.
$ 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