Comments (3)
The certificate for the Captive (Guest) Portal is stored in the Java Key store. Could you check if your JKS contains your certificate by executing on UDM:
keytool -v -list -keystore /usr/lib/unifi/data/keystore
It will ask for a password, that is aircontrolenterprise
Result should look like
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: unifi
Creation date: Jul 17, 2023
Entry type: PrivateKeyEntry
Certificate chain length: 3
Certificate[1]:
Owner: CN=(hostname of your udm)
Issuer: CN=R3, O=Let's Encrypt, C=US
Serial number: <blablabla>
Valid from: Mon Jul 17 02:02:48 CEST 2023 until: Sun Oct 15 02:02:47 CEST 2023
from ubios-cert.
It does show 1 entry and it has my wildcard (*.domain.com) in the CN. The difference is instead of keystore type JKS, it is PKCS12 and the chain length is 1 instead of 3. I'm assuming both of these differences is because I chose not to use the full chain cert, but server only cert (the one that doesn't break wifiman). I have not tried rebooting the UDM pro but can certainly give that a shot if you think that will help troubleshoot. Although, if the UDM pro needs to be rebooted for it to take effect, then I would guess it would require a reboot any time the cert is renewed, which wouldn't be ideal.
Thanks for looking into this!
Edit: I also did try using the full chain cert on the first attempt and it did not work either.
from ubios-cert.
Is there maybe a service that needs to be restarted on newer firmware that didn't need to be restarted before?
from ubios-cert.
Related Issues (20)
- Cron job now requires the user to be specified HOT 3
- UDM pro upgraded to 2.x uses /data not /mnt/data HOT 3
- /mnt/data still hardcoded in ubios-cert.sh and 99-ubios-cert.sh HOT 2
- Script issues - support for UDMPro v2.4.23 HOT 2
- Issue with wildcard domains HOT 1
- Intermediate Chain Certificate for Guest Portal HOT 12
- Cloudflare not registrering - api not applied correctly HOT 1
- Add OVH as a DNS provider HOT 2
- No such file or directory when running cd ${DATA_DIR}/ubios-cert HOT 7
- Captive Portal HOT 3
- Can't open /data/unifi-core/config/unifi-core.crt for reading, No such file or directory HOT 2
- Curl Error HOT 2
- Email Notification HOT 2
- UNVR Support HOT 6
- Copying `unifi-core-direct.crt` and `unifi-core-direct.key` is causing DNS for my domain to resolve to UDM console login HOT 7
- missing keytool? HOT 2
- Minor error in README.MD? HOT 3
- FW 3.2.7 breaks RADIUS certificates HOT 25
- FW 3.2.7 breaks custom web certificates HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubios-cert.