Veröffentlicht in Ubiquiti

UniFi Video mit gültigem SSL Zertifikat ausstatten

Um den UniFi Video Controller mit einem offiziellen und gültigem Zertifikat auszustatten muss wie folgt vorgegangen werden.

  1. Gültiges Zertifikat besorgen SSL Zertifikat auf Basis von Let´s Encrypt
  2. Den Dienst UniFiVideoService stoppen
  3. Unter C:\ProgramData\unifi-video die keystore files löschen oder umbenennen als Backup
    1. data/keystore
    2. data/ufv-truststore
    3. conf/evostream/server.*
  4. kopieren des eigenen Zertifikats und Key nach C:\ProgramData\unifi-video
    1. data/certificates/ufv-server.cert.der (X509 DER-encoded cert file)
    2. data/certificates/ufv-server.key.der (RSA PKCS8 DER-encoded private key file)
  5. um den Key in das richtige Format für den UniFi Video Controller zu bekommen
    Einfach den private.key in private.pem umbenennen und dann via openssl den folgenden Befehl ausführen:
    openssl pkcs8 -topk8 -inform PEM -outform DER -in private.pem -out ufv-server.key.der -nocrypt
  6. um das vorliegende Zertifikat (im PEM Format) in das x509 Format zu bekommen, muss via openssl folgender Befehl ausgeführt werden:
    openssl x509 -outform der -in certificate.pem -out ufv-server.cert.der
  7. unter C:\ProgramData\unifi-video\data die Datei system.properties um folgende Zeile erweitern
    1. ufv.custom.certs.enable=true
  8. Start des Dienstes UniFiVideoService

Und schon wird vom UniFi Video Controller die Website über https ausgeliefert 🙂

Veröffentlicht in Netzwerk, Ubiquiti

Ubiquiti UniFi AP – Restore zur original Firmware

The process of resetting the UAP is as follows

Please download the following software before you start this guide – http://kin.klever.net/dist/pumpkin-2.7.3.exe

  1. Unplug the ethernet from the Unifi AP
  2. Press and hold in a paper-clip or other object in to the Reset hole (next to the Ethernet plug) on the AP. Make sure you can feel it pushed in.
  3. Plug the Ethernet cable back in whilst still keeping the reset button held in.
  4. After around 25 seconds the light on the Unifi will go between flashing orange then green, orange then green etc. This means the AP is in upgrade mode.
  5. Set your PC’s network IP address to 192.168.1.25, subnet is 255.255.255.0 and gateway is 192.168.1.20 (you might wish to do this in preparation)
  6. Plug the LAN cable from the Unifi POE adapter in to your PC.
  7. Open the TFTP application (in this instance we’re using the Pumpkin software as an example) and click on „Put File“. In „Local file“ choose your original firmware file. In the „Remote host“ field enter 192.168.1.20 – then click OK.
  8. You should now have some indication of the file being transferred )in Pumpkin you’d see the numbers going up as the file is transferred).
  9. The firmware on your AP will be upgraded and the device will automatically reboot back to original settings.
  10. Re-connect the LAN cable from the Unifi POE adapter in to your broadband router.
  11. Remember to set your PC’s network IP back to what it was before (DHCP etc).

Quelle: support.purplewifi.net