123

sess_id smime speed spkac
ts verify version x509 streebog512 whirlpool des3 desx
rc2 rc2-40-cbc rc2-64-cbc rc2-cbc
rc2-cfb rc2-ecb rc2-ofb rc4
rc4-40

 

 

http://www.4e00.com/blog/linux/2018/04/28/the-best-commands-openssl.html

https://blog.csdn.net/pecovio/article/details/82348924

 

 

1、 sess_id

openssl sess_id -text -noout

-----BEGIN SSL SESSION PARAMETERS-----

MHUCAQECAgMBBAIAOQQga2PAeeIXKd7MSzRuykUQjaCbT7BMlieSMmve9MMIj1wE

MOUilBEWWakJzBkDJRdPoRPWpd2EfyosMZsHl/jRxfg2UKi8om3FFSVdFsliwi+L

9KEGAgRMvs+kogQCAgEspAYEBAEAAAA=

-----END SSL SESSION PARAMETERS-----

 

https://www.cnblogs.com/274914765qq/archive/2004/01/13/4693676.html

 

2、 smiss

smime -sign -in mail.txt -signer ca-cert.pem -inkey ca-key.pem -out mail.sgn

 

3、 speed

测试所有算法速度: >openssl speed

测试RSA速度: >openssl speed rsa

测试des速度: >openssl speed des

 

4、 spkac

spkac -key ca-key.pem -out spkac.cnf

https://www.it610.com/article/4683035.htm

 

5、 ts

ts -query -data design1.txt -no_nonce -out design1.tsq

ts -query -digest b7e5d3f93198b38379852f2c04e78d73abdd0f4b \

https://blog.csdn.net/as3luyuan123/article/details/16867849

 

6、 verify            

verify -policy_check ca.crt

https://blog.csdn.net/as3luyuan123/article/details/16872101

 

7、 version           

version

version -a

 

8、 x509

x509 -inform der -noout -text -in from_chrome.cer

 

 

9、 加密

enc -rc4-40 -salt -in 1.txt -out 123

linux:openssl enc -e -desx -a -salt -in 123.txt

posted @ 2020-11-11 23:40  20181335ZYY  阅读(62)  评论(0编辑  收藏  举报