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

Document handling of /etc/hosts for mesh domain #190

Open
NiceGuyIT opened this issue Aug 21, 2023 · 4 comments
Open

Document handling of /etc/hosts for mesh domain #190

NiceGuyIT opened this issue Aug 21, 2023 · 4 comments

Comments

@NiceGuyIT
Copy link
Contributor

Commit 716c0fe introduced the "management" of /etc/hosts to handle the scenario of cloud init files. This change assumes a reverse proxy is not used and will cause problems for people using MeshCentral with reverse proxies.

In my environment, mesh.example.com points to the reverse proxy to get the TLS cert, not 127.0.0.1. Since $meshdomain is included in the checks/fix, updating might "break" the (unsupported) reverse proxy configuration.

I don't expect the code to be updated to account for unsupported configurations. This issue is to update the documentation.

@NiceGuyIT
Copy link
Contributor Author

The "symptom" is the Connect greyed out in MeshCentral. journalctl reports the following.

Aug 21 07:27:44 ns-v18-tactical meshcentral[2486]: Agent bad web cert hash (Agent:e583a0455e != Server:1a57156b69 or 1a57156b69), holding connection (127.0.0.1:36028).
Aug 21 07:27:44 ns-v18-tactical meshcentral[2486]: Agent reported web cert hash:e583a0455e0e7378449c502f4431fe8ddda4cd86f24bbe0b806cb3eef713ebd094aec202b4744692daf2f91040a2f5aa.

@silversword411
Copy link
Contributor

How would you suggest documenting it? Disclaimer in the unsupported first page?

@LastStopITSolutions
Copy link

My PR essentially addresses this issue. The error isn't mentioned per se but if users follow my writeup to a T they shouldn't see this error.

@silversword411
Copy link
Contributor

My PR essentially addresses this issue

Which PR?

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

No branches or pull requests

3 participants