I think it’s a mistake in the reference implementation. However, the code should be ignoring any TLS parameters given. Can you confirm that everything is working fine when those TLS parameters are not included, but fail specifically when that one thing is changed?
@malnick can you update the reference implementation?
Looks like i’m facing almost the same problem. When using a certificate(provided by LetsEncrypt) on my public domain, listener works without problems and by https protocol.
But attempting to connect through ssh, got this error:
“Error dialing the worker: failed to WebSocket dial: failed to send handshake request: Get “https://boundary.fncit.com.br:9200/v1/proxy”: x509: certificate is valid for boundary.fncit.com.br, not s_um472h4cCX” (s_um472h4cCX, wich is the session id).
Well the worker is upset because it is needs a cert signed by the Boundary internal CA, it won’t validate a public cert. This is a mistake in the reference implementation.
What’s your configuration? It looks like you’re specifying the API address for the worker’s address, so when it’s sending the worker’s address to the client to dial it’s using the wrong port – I’d expect it to be 9202 above, not 9200.