openssl
lovzm
这个作者很懒,什么都没留下…
展开
-
openssl s_server命令
使用openssl s_server 测试搭建https-server测试,选项如下:usage: s_server [args ...] -accept arg - port to accept on (default is 4433) -verify_hostname host - check peer certificate matches "host" -verify_emai...原创 2018-03-05 14:07:21 · 1194 阅读 · 0 评论 -
openssl s_client
openssl s_client命令参数如下:usage: s_client args -host host - use -connect instead -port port - use -connect instead -connect host:port - who to connect to (default is localhost:4433) -verify_...原创 2018-03-05 14:14:45 · 2063 阅读 · 0 评论 -
openssl genrsa命令
openssl genrsa 参数如下:[root@localhost 2]# openssl genrsa -husage: genrsa [args] [numbits] -des encrypt the generated key with DES in cbc mode -des3 encrypt the generated key with...原创 2018-03-05 14:20:16 · 3887 阅读 · 0 评论 -
openssl req命令
openssl req可生成请求文件及证书文件等;req [options] <infile >outfilewhere options are -inform arg input format - DER or PEM -outform arg output format - DER or PEM -in arg input file -out a...原创 2018-03-05 14:27:17 · 1704 阅读 · 0 评论 -
openssl ca签发证书
参数选项如下:[root@localhost 2]# openssl ca -helpunknown option -helpusage: ca args -verbose - Talk alot while doing things -config file - A config file -name arg - The particular CA d...原创 2018-03-05 14:38:20 · 804 阅读 · 0 评论 -
openssl s_client s_server双向认证
1 自建CA-certs目录[root@localhost ~]# tree tlstls├── 1│ ├── 1.crt│ ├── 1.csr│ └── 1.key├── 2│ ├── 2.crt│ ├── 2.csr│ └── 2.key├── certs├── crl├── index.txt├── index.txt.attr├── in...原创 2018-03-05 14:59:32 · 9505 阅读 · 0 评论 -
Openssl-stack 阅读笔记
openssl stackstack 各函数# define sk_TEST_EXAM_new(cmp) SKM_sk_new(TEST_EXAM, (cmp))# define sk_TEST_EXAM_new_null() SKM_sk_new_null(TEST_EXAM)# define sk_TEST_EXAM_free(st) SKM_sk_free(TEST_EXAM, (s...原创 2018-03-19 19:51:20 · 365 阅读 · 0 评论