Skip to content
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

https, ip address and localLink #359

Open
crocri opened this issue Jan 15, 2023 · 3 comments
Open

https, ip address and localLink #359

crocri opened this issue Jan 15, 2023 · 3 comments

Comments

@crocri
Copy link

crocri commented Jan 15, 2023

Hello!
https secure = on makes no sense for ip addresses. If https, host name should be choosable (same as for homematic rpc adapters)
Workaround here is to set ip to name via "iob set node-red.0 --bind my.domain.com"

Further on,
"localLink": "http%s%://%ip%:%port%%httpAdminRoot%" doesn't work correct (https protocol is missing in overview/not set). So link in admin overview never works...

best regards
Crocri

@Apollon77
Copy link
Contributor

Hhmmm ... yes and no ... "bind" is always going to a network interface and has nothingn to do with HTTPS ... But yes in fact then bind can not be used for creating the link ...

@crocri
Copy link
Author

crocri commented Jan 16, 2023

yes and no ;-)
If bind = IP -> no https possible, because https://IP:Port will never ever has a certificate (not allowed)
If bind = hostname, then certificate is possible: https://my.domain.com
So bind should be an interface, but with name, not ip address (esspecially for https)

In my opinion if bind = ip and https = on -> bug, not enhancement, because https never works
ok?

@Apollon77
Copy link
Contributor

We say exactly the same ... The "general" topic is that iobroker do not know anything about "how the system is accessed as domain" ... admin since some versions has such support ... In fact we would need a new setting to set the "https domain to use" or such

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants