Sending and Verifying SSL certificate using c/c++

好久不见. 提交于 2019-12-25 04:08:31

问题


I am actually working on a protocol security. I need to send the certificate and verify it on the other side.

Now here is what I have planned:
1 Send the certificate chain just like a normal stream of data
2.Capture it on the other side and store it in a char[] buffer

Now, how to verify the certificate from this char[]buffer and extract the needed parameters?

I need it in c/c++.


回答1:


This blog post about Verifying Using a Certificate Store using OpenSSL shows how to verify certificate against CA.



来源:https://stackoverflow.com/questions/10912921/sending-and-verifying-ssl-certificate-using-c-c

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