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

UnsupportedCertVersion #90

Open
papapumpnz opened this issue Oct 6, 2023 · 2 comments
Open

UnsupportedCertVersion #90

papapumpnz opened this issue Oct 6, 2023 · 2 comments

Comments

@papapumpnz
Copy link

Further issues as per 21.

`gst-meet --web-socket-url=wss://jitsi.home/xmpp-websocket --room-name=testroom --xmpp-jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJqb2JwcnVuZXIiLCJhdWQiOiJqaXRzaSIsInJvb20iOiJ0ZXN0cm9vbSIsInN1YiI6Impk
QGpkLmNvbSIsImNvbnRleHQiOnsidXNlciI6eyJhdmF0YXIiOiIiLCJuYW1lIjoiamQiLCJlbWFpbCI6ImpkQGpkLmNvbSIsImFmZmlsaWF0aW9uIjoibWVtYmVyIn19LCJleHAiOjE2OTY1NjQwNDN9.rf9hHyc3Tz5Xh8cdy22X-VOLoNkf67haaPBstN-Gp08 --tls-insecure
2023-10-06T03:20:02.421430Z INFO Connecting XMPP WebSocket to wss://jitsi.home/xmpp-websocket?room=testroom?room=testroom&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJqb2JwcnVuZXIiLCJhdWQiOiJqaXRzaSIsInJvb20iOiJ0ZXN0cm9vbSIsInN1YiI6ImpkQGpkLmNvbSIsImNvbnRleHQiOnsidXNlciI6eyJhdmF0YXIiOiIiLCJuYW1lIjoiamQiLCJlbWFpbCI6ImpkQGpkLmNvbSIsImFmZmlsaWF0aW9uIjoibWVtYmVyIn19LCJleHAiOjE2OTY1NjQwNDN9.rf9hHyc3Tz5Xh8cdy22X-VOLoNkf67haaPBstN-Gp08
Error: failed to build connection

Caused by:
0: failed to connect XMPP WebSocket
1: IO error: invalid peer certificate: Other(UnsupportedCertVersion)
2: invalid peer certificate: Other(UnsupportedCertVersion)
`

Built with --tls-insecure and passed as an argument as per above. Using a self signed cert, which appears to have a version of "version 1". I can replace the cert, but expected tls-insecure to ignore this?

@ibrainventures
Copy link

instead of jwt=ey.. it must have token=
--web-socket-url=wss://expample.server.com/xmpp-websocket?token=eyJhbGciO.....

@jbg
Copy link
Contributor

jbg commented May 27, 2024

Can you share the PEM-encoded certificate you're using here?

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