SSL證書過期問題解決

2021-09-21 00:21:41 字數 565 閱讀 7998

解決方法:

1.用.cer 檔案和.key 檔案生成.p12 檔案

openssl pkcs12 -export -in /home/helen/cer2017.cer -inkey /home/helen/key2017.private.key -out /home/helen/server.p12

2.用.p12 檔案生成..keystore 檔案

keytool -v -importkeystore -srckeystore /home/helen/server.p12 -srcstoretype pkcs12 -destkeystore /home/helen/server.keystore -deststoretype jks

3.配置tomcat server.xml 檔案

4.重啟伺服器,完美解決

it達仁

SSL 證書無法通過校驗問題解決

在整合stripe的時候出下如下錯誤 test webhook error tls failure 已經整合ssl,但是無法通過檢測,就用如下 檢測 然後下在他給出的證書,替換已經有的certificate.crt.並更改nginx conf 配置如下 listen 443 default serv...

python requests證書問題解決

用requests包請求https的 時,我們偶爾會遇到證書問題。也就是常見的sslerror,遇到這種問題莫慌程式設計客棧莫慌。這裡沒有找到合適的 去報ssl證書的錯誤,所以就假裝請求了乙個https的 然後給報了sslerror了,然後下面是解決方法 可以直接關閉驗證ssl證書 import r...

oracle密碼已過期問題解決

首先我是oracle同步資料時候遇到的問題顯示oracle密碼已過期,提示如下 解決方法如下 1.檢視是否配置過期 select from dba profiles where profile default and resource name password life time 2.設定永不過期...