mimugmail / opn-repo

OPNsense repo by mimugmail
Other
324 stars 24 forks source link

SSH to os-unifi-maxit #205

Open janowi opened 4 months ago

janowi commented 4 months ago

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?

mimugmail commented 4 months ago

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

janowi commented 4 months ago

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

there isn't java folder, only openjdk8 and openjdk17

FostWare commented 3 months ago

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.