mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Update TLS commands
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
" TLS_ECC_SM4_GCM_SM3\n"
|
||||
" TLS_ECC_SM4_CBC_SM3\n"
|
||||
"\n"
|
||||
" gmssl tlcp_client -host www.pbc.gov.cn -get / -outcerts certs.pem\n"
|
||||
" gmssl tlcp_client -host www.pbc.gov.cn -get / -certout certs.pem\n"
|
||||
"\n"
|
||||
" gmssl tlcp_client -host www.pbc.gov.cn -port 443\n"
|
||||
"\n"
|
||||
@@ -36,6 +36,10 @@
|
||||
" cat signcert.pem > double_certs.pem\n"
|
||||
" cat enccert.pem >> double_certs.pem\n"
|
||||
" cat cacert.pem >> double_certs.pem\n"
|
||||
" # double_keys.pem contains two encrypted private key PEM blocks with the same password:\n"
|
||||
" # the first is the signing private key, the second is the encryption private key.\n"
|
||||
" cat signkey.pem > double_keys.pem\n"
|
||||
" cat enckey.pem >> double_keys.pem\n"
|
||||
"\n"
|
||||
" gmssl tlcp_server -port 443 -cert double_certs.pem -key signkey.pem -pass 1234 -ex_key enckey.pem -ex_pass 1234\n"
|
||||
" gmssl tlcp_server -port 443 -cert double_certs.pem -key double_keys.pem -pass 1234\n"
|
||||
" gmssl tlcp_client -host 127.0.0.1 -cacert rootcacert.pem\n"
|
||||
|
||||
Reference in New Issue
Block a user