iT邦幫忙

第 12 屆 iThome 鐵人賽

DAY 18
0
自我挑戰組

從零開始的ISMS資訊安全管理系統系列 第 18

DAY18 OpenVAS弱掃任務(SSL/TLS: Certificate Expired)

  • 分享至 

  • twitterImage
  •  

接續昨天的任務
這次來做自簽憑證
下載 OPENSSL
https://slproweb.com/products/Win32OpenSSL.html
https://ithelp.ithome.com.tw/upload/images/20200918/20034859tI6AKPXDc2.jpg
建立CA私鑰
openssl genrsa -out ca.key 4096
用私鑰產生憑證
openssl req -x509 -newkey rsa:4096 -keyout ca.key -out www.crt -days 3650
https://ithelp.ithome.com.tw/upload/images/20200918/20034859xmjk4autN9.jpg
轉成 IIS 可匯入的格式
openssl pkcs12 -export -out www.pfx -inkey ca.key -in www.crt
匯入 PFX 到 IIS
https://ithelp.ithome.com.tw/upload/images/20200918/200348596Ts0T5nnBH.jpg
服用前
https://ithelp.ithome.com.tw/upload/images/20200918/20034859crMB70YM77.jpg
服用後
https://ithelp.ithome.com.tw/upload/images/20200918/20034859fdJAu0RAK0.jpg


上一篇
DAY17 OpenVAS弱掃任務(SSL/TLS: Certificate Expired)
下一篇
DAY19 OpenVAS弱掃任務(申請免費憑證)
系列文
從零開始的ISMS資訊安全管理系統30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言