Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expose remote TLS certificate for WebSocket #1249

Open
paullouisageneau opened this issue Sep 6, 2024 · 2 comments
Open

Expose remote TLS certificate for WebSocket #1249

paullouisageneau opened this issue Sep 6, 2024 · 2 comments

Comments

@paullouisageneau
Copy link
Owner

It could be useful to expose information about the remote TLS certificate for WebSockets.

@themightyoarfish
Copy link

Could you give a rough idea what changes would need to be made here? Maybe I could submit a PR.

@paullouisageneau
Copy link
Owner Author

Basically an rtc::Certificate wrapper to expose rtc::impl::Certificate would need to be added in include/rtc/certificate.hpp, with a fingerprint() method to get the fingerprint. A shared_ptr<rtc::Certificate> would be returned a by a method like WebSocket::getRemoteCertificate().

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

No branches or pull requests

2 participants