Replies: 2 comments
|
@AleksCee yes the websocket connection is being established with the Webex cloud and there is no agent in between the SDK and the Webex cloud. This error is logged when the KMS plugin is unable to validate the domain name of the JWT. Something is different about the JWT which is leading to the failure of the CN validation. Do you have any logs and HAR files for this problem? |
|
Your bot connects fine (auth + websocket OK). What’s happening Key point Webex does not use different certificates for corporate spaces. Fix (securely) Don’t do this Bottom line SDK is fine. Fix TLS trust in your runtime, not Webex config. ⸻ |
Uh oh!
There was an error while loading. Please reload this page.
I build a BOT using the "webex-node-bot-framework" and it works fine with my private account. I change the bot key to the bot I created for the corporate space and the framework starts up OK. Websocket connections are OK. But when the first message is sent to the bot, the app panics with the error "Hostname of 1st certificate does not match 'kid'" - I don't understand why this happens. What are the differences between using websocket in "public" or "corporate" spaces? Can a company use other certificates? Isn't the websocket connection established only to the Webex network? How can I fix this without security issues?
Thanks, Alex
All reactions