openssl编程之客户端
继上一篇博文:http://blog.youkuaiyun.com/fly2010love/article/details/46415307 openssl证书生产过程,我们得到了:
client使用的文件有:ca.crt,client.crt,client.key
server使用的文件有:ca.crt,server.crt,server.key
新建一个目录为client,将ca.crt,client.crt,client.key三个文件拷贝进去,
[root@localhost SSLTestC]# ls -l
总用量 182
drwxrwx---. 1 root vboxsf 0 6月 9 16:04 client
drwxrwx---. 1 root vboxsf 0 6月 9 16:04 Debug
-rwxrwx---. 1 root vboxsf 1938 6月 8 11:03 Makefile
-rwxrwx---. 1 root vboxsf 3549 6月 10 09:40 SSLTestC.vcxproj
-rwxrwx---. 1 root vboxsf 946 6月 8 11:43 SSLTestC.vcxproj.filters
-rwxrwx---. 1 root vboxsf 143 6月 8 11:03 SSLTestC.vcxproj.user
-rwxrwx---. 1 root vboxsf 70154 6月 11 15:17 test
-rwxrwx---. 1 root vboxsf