Find client certificate information from server in OpenSSL

喜欢而已 提交于 2021-01-28 12:30:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!