opn-repo icon indicating copy to clipboard operation
opn-repo copied to clipboard

SSH to os-unifi-maxit

Open janowi opened this issue 1 year ago • 3 comments
trafficstars

Hello, I might not be aware if this is doable, but is it possible to SSH to unifi controller that is running on OPNsense? If yes, how? Because ssh always leads to OPNsense router and I cannot replace certificate for wifi from GUI. If it's not possible can this be added in easy way or I can modify some file to expose this port?

janowi avatar Mar 07 '24 15:03 janowi

Controller files are in /usr/local/java on OPNsense

mimugmail avatar Mar 07 '24 17:03 mimugmail

Controller files are in /usr/local/java on OPNsense

there isn't java folder, only openjdk8 and openjdk17

janowi avatar Mar 07 '24 17:03 janowi

What are you trying to do? Replaces a cert for 802.1x, or replace the cert on Unifi? If it's the cert on UniFi, why not use haproxy or nginx to reverse proxy with the cert on OpnSense? Otherwise, you could try using the /usr/local/openjdk17/bin/keytool to add the cert in the keystore within /usr/local/share/java/unifi/data - but make sure you back up the keystore first.

FostWare avatar Mar 19 '24 02:03 FostWare