问题
I'm programming an application that uses a SSL connection to ensure only valid clients connect (using client certificates). Is there some API call the server can call on a connection to retrieve information about the certificate the client used?
回答1:
Try SSL_get_peer_certificate method.
来源:https://stackoverflow.com/questions/28306427/find-client-certificate-information-from-server-in-openssl