-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS config does not work with NodeJS 18.x.x #1428
Comments
Homebridge UI Version v4.50.1 Homebridge Version v1.5.1 Node.js Version v 18.12.0 Operating System macOS 13.0 Environment Info
I am getting this too. Working on one setup, but not the other. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still an active issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. Still an active issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
An active issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. Still an issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still active issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still active issue. |
This is probably due to the generated pfx p12 file using unsupported ciphers: |
I checked. I am running SHA256 with RSA. None of these are deprecated to my knowledge. |
Something interesting. Even though the key pair is packaged as PKCS#12, (in a p12 file), when HB-config-UI uses the cert it seems to tag the header as PKCS#1. As visible in cert info: This could be the reason why new version of node, which maybe running additional check, might be complaining about header to cert mismatch, causing TLS to fail. Just a super wild speculation, because I don't know the innerworkings of node, and HB-config-UI. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still active issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still active issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still active issue. |
Found the solution, unless explicitly specified, RC2 was being used for packaging by openSSL 1.1. Forced it to CBC using |
Describe The Bug
HB-UI TLS config Works perfectly fine with NodeJS <=16.x.x
If you update the NodeJS to 18.x.x HB-UI only works without TLS.
Logs
Config
No response
Homebridge UI Version
v4.50.1
Homebridge Version
v1.5.1
Node.js Version
v 18.x.x
Operating System
Raspberry Pi OS / Raspbian
Environment Info
Raspberry Pi Model
Raspberry Pi 4 B
The text was updated successfully, but these errors were encountered: