-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support HTTPS for incoming requests #68
Comments
Not possible for now. Feel free to provide a pull request. |
Thanks for your answer, if I want to create a pull request, I always get that message, what should I do? "Choose different branches or forks above to discuss and review changes. " I don't see a different branch or fork. |
First you need to fork the repo. Develop you feature, and then create a pull request from this repo to mine. |
Oh, sorry, I am no developer. Could I just create a "Feature request"? |
Of course ;-) |
Where and how? Or was that here already one? ;) |
This issue is the feature request ;-) |
Perfect, thanks! |
I dont know. Since this is within local network I have no focus on this. So if someone will implement it, it has to come from the community. |
I have to use that Webhooks plugin from WAN side, because the device "Withings Sleep" can only trigger IFTTT and IFTTT runs in the cloud. So currently I have to access my webhooks plugin from external by HTTP, more secure would be HTTPS. |
Actually, I'm using IFTTT and it's working via HTTP - dunno which is your scenario, but sending webhook request from IFTTT to homebridge via this plugin works. |
You should not open a port and send http through it as this punches a hole in your firewall and everyone on the inet listening can access it. You can try to use ngrok as tunnel. |
Is there a free version of ngrok which can do this or a free alternative? |
Now support https with a self signed cert (beta state). Feel free to tests. After you feedback as verification I will close this. |
Installation of 0.0.55 fails:
|
Should do. Try newest version 0.0.56. |
Same error:
|
Must be some issue on your local machine. Others already installed this version without issues. |
It worked now by uninstalling and re-installing with @latest. But HTTPS is not working. I always get that error: Fehler: Gesicherte Verbindung fehlgeschlagen
|
Tried with current version of chrome, firefox, safari and some request tool. Didn't get this exception. I only found this error regarding firefox. May you look here: https://www.ssl2buy.com/wiki/ssl_error_rx_record_too_long-firefox-error If you can't get this to work, you might use the new version 0.0.57. With this you should be able to use your own certificate (didn't test it, but option is available). Maybe this helps. |
It does not matter which browser is able to do it successfully. IFTTT can't handle it. |
Tested with IFTTT, too. Its working over here. |
anyone tested https successfully except me? |
I would like to test again, is it necessary to use "https_keyfile" and "https_certfile"? |
These settings are just needed if you want a custom key and cert file. Just set https to true is the simplest setting. |
I am receiving that errors:
|
Seems you hit this issue on your system jfromaniello/selfsigned#33 Once fixed, I will update the lib. |
Thank you, could you please tell me what I should do exactly? |
Either you wait for the mibrary to fix this issue, or you use the mentioned workaround: `Only way around it is to modify: /etc/ssl/openssl.cnf and change: CipherString = DEFAULT@SECLEVEL=2 |
Thank you very much! That helped and I was able to test HTTPS successfully! Thanks a lot for implementing that! Should I later revert that change in the mentioned .cnf file? |
I would revert it as it lowers security right now. I will keep this bug open until the library and so my plugin fixes this, so you will get a notification for it. |
Hi, is there already a fix for that problem? I want to call a WebHook in Homebridge from The Things Stack but it always fails there as soon as I enable HTTPS here in WebHooks plugin. Do you know a solution? SECLEVEL is still set to 1, so this is also no fix for that. Is there any log where I can see what is the problem? Other WebHooks with HTTPS like webhook.site do work without problems with The Things Stack. |
@mensa84 the bug is not fixed, yet. So no news on this side. Your problem with The Things Stack might be, that a self signed certificate is used an so it is possible untrusted. Other https sites might have valid certificates. |
Hello,
for security reasons: Is it also possible to use HTTPS instead of HTTP?
That would be a really nice feature :)
The text was updated successfully, but these errors were encountered: