Replies: 3 comments 1 reply
-
You have domains set with a dns name, Edit also just try |
Beta Was this translation helpful? Give feedback.
-
I have a similar setup with what I imagine is a similar issue : Cloudflare tunnel, web GUI is reachable from LAN and WAN, but clients don't connect or appear offline unless |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help with the commands. Looks like my problem was unrelated, but I managed to fix it browsing the certificates and doing lots and lots of curl. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I have been setting up MeshCentral to try it out. I have been trying to get it working using CloudFlare Tunnels.
I have configured the "certUrl" option for the domain used however my Remote Agents fail to connect unless I add in the line "ignoreAgentHash".
Have I done something completely silly here and missed a configuration step? I have included my config.json file but I have replaced domains with "example.com".
config.json
This is the error I keep finding in the logs:
WEBREQUEST: (172.17.0.3) /agent.ashx/.websocket
AGENT: New agent at 172.17.0.3:43902
CERT: loadCertificate() - Loading certificate from rmm.example.com:443, Hostname: rmm.example.com...
AGENT: Agent bad web cert hash (Agent:9b8aa02e85 != Server:7e45e33c1a or 29093a3e99), holding connection (172.17.0.3:43902).
AGENT: Agent reported web cert hash:9b8aa02e85a5f868cd87a46b2ce3079edc15783bbc16275f2412ce8b9883243a7e3c8eb706767848e086e3da840e203e.
Agent bad web cert hash (Agent:9b8aa02e85 != Server:7e45e33c1a or 29093a3e99), holding connection (172.17.0.3:43902).
Agent reported web cert hash:9b8aa02e85a5f868cd87a46b2ce3079edc15783bbc16275f2412ce8b9883243a7e3c8eb706767848e086e3da840e203e.
CERT: loadCertificate() - TLS connected, got certificate.
HTTPHEADERS: GET /agent.ashx/.websocket {
host: 'rmm.example.com',
'accept-encoding': 'gzip, br',
'cdn-loop': 'cloudflare',
'cf-connecting-ip': '51.0.0.1',
'cf-ipcountry': 'GB',
'cf-ray': '873bce02489a63a7-LHR',
'cf-visitor': '{"scheme":"https"}',
'cf-warp-tag-id': 'b28b94ac-9199-419d-896f-cf5ace0dca9c',
connection: 'Upgrade',
'sec-websocket-key': '9tf86INvGrQVEfSOspPGvT==',
'sec-websocket-version': '13',
upgrade: 'websocket',
'x-forwarded-for': '51.0.0.1',
'x-forwarded-proto': 'https'
}
WEBREQUEST: (172.17.0.3) /agent.ashx/.websocket
AGENT: New agent at 172.17.0.3:54134
AGENT: Agent bad web cert hash (Agent:9b8aa02e85 != Server:7e45e33c1a or 29093a3e99), holding connection (172.17.0.3:54134).
AGENT: Agent reported web cert hash:9b8aa02e85a5f868cd87a46b2ce3079edc15783bbc16275f2412ce8b9883243a7e3c8eb706767848e086e3da840e203e.
Agent bad web cert hash (Agent:9b8aa02e85 != Server:7e45e33c1a or 29093a3e99), holding connection (172.17.0.3:54134).
Agent reported web cert hash:9b8aa02e85a5f868cd87a46b2ce3079edc15783bbc16275f2412ce8b9883243a7e3c8eb706767848e086e3da840e203e.
Beta Was this translation helpful? Give feedback.
All reactions