Is there a way to intercept the https socket connection to get hold of the server TLS cert?

16 views
Skip to first unread message

jimthe...@gmail.com

unread,
Jun 19, 2017, 11:33:41 AM6/19/17
to grpc.io
In our node.js client we have a need to obtain the server certificate that the server sent during TLS handshake. Is there a way to do this? It seems with https connections the https client has hooks to allow the application to tap into the handshake process. such as this post: http://hassansin.github.io/certificate-pinning-in-nodejs. Is there a way to this from the grpc node.js library?
Reply all
Reply to author
Forward
0 new messages