statianzo / Fleck

C# Websocket Implementation
MIT License
2.25k stars 583 forks source link

Question: SSL Client Certificate difference #329

Closed sertunc closed 1 year ago

sertunc commented 1 year ago

Hello, first of all, thank you for this repo.

I want to generate certificate for both server and client but if the client's certificate is different ca, it has not to be able connect.

How can I do that ?

Thank you.

AdrianBathurst commented 1 year ago

You probably want to describe your environment/issue a bit more.

You can generate a test certificate by following this https://github.com/statianzo/Fleck/issues/214#issuecomment-364413879

sertunc commented 1 year ago

You probably want to describe your environment/issue a bit more.

You can generate a test certificate by following this #214 (comment)

i just want to verify client certificate. if client certificate different, i want to throw an exception.

AdrianBathurst commented 1 year ago

Can't help you there. Let the browser/webserver deal with the ssl handshake?

sertunc commented 1 year ago

Can't help you there. Let the browser/webserver deal with the ssl handshake?

if i solve the problem i will pr about it