SIPS w/ Client Cert #542
-
I'm looking at the examples and it isn't obvious how I would go about creating a SIPS connection using a client certificate. Is that even possible? I have tried adding the Client certificate when creating a TLS channel but that doesn't seem to send the cert in response to the server certificate in the handshake. Does anyone have an example of that working? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Client certificates aren't supported. The main reason being it's never come up before. The SIP specification requires clients to be authenticated with an HTTP Digest. There's probably an extension for authenticating clients with X509 certificates but I'd be surprised if it's got much traction with SIP servers given the difficulties of managing X509 certificates on SIP devices like IP Phones, ATAs etc. If you're interested in mondifying the sipsorcery library the spot where client certificates can be sent is here. |
Beta Was this translation helpful? Give feedback.
Client certificates aren't supported. The main reason being it's never come up before. The SIP specification requires clients to be authenticated with an HTTP Digest. There's probably an extension for authenticating clients with X509 certificates but I'd be surprised if it's got much traction with SIP servers given the difficulties of managing X509 certificates on SIP devices like IP Phones, ATAs etc.
If you're interested in mondifying the sipsorcery library the spot where client certificates can be sent is here.