OpenSSL常見錯誤

文章來源

https://blog.csdn.net/benben_2015/article/details/80633073

1、openssl出現錯誤:unable to write ‘random state’,出現這個現象原因是可能沒有設置環境變量RANDFILE。

d:\openssl>set RANDFILE=d:\openssl\.rnd

2、openssl出現錯誤:Can’t open C:\Program Files\Common Files\SSL/openssl.cnf for reading,no such file or directory
出現這個錯誤的原因是可能沒有設置環境變量OPENSSL_CONF

d:\openssl>set OPENSSL_CONF=d:\openssl\OpenSSL-Win64\bin\openssl.cfg

openssl.cfg是openssl的配置信息

3、openssl出現錯誤:problem creating object tsa_policy1=1.2.3.4.1
在這裏插入圖片描述
出現這個錯誤的原因是由於版本,在1.1.0版本就會出現這種情況,而1.0.2不會。因此前面推薦安裝時不要選擇1.1.0的版本。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章