![](/img/trans.png)
[英]How to get a *.cer file to add a self-signed HTTPS certificate as trusted for Java
[英]How to get a *.cer file to add a self-signed HTTPS certificate in command
它与以下问题有关: 如何获取* .cer文件以将自签名HTTPS证书添加为Java可信
如答案中所述:
With firefox is is done by double-clicking on the lock in the status bar, clicking on the button "View certificate", then in the "Details" tab, click on "Export..."
我想知道是否可以通过命令获取.cer文件,以便使流程自动化?
为了通过SSL与服务器进行交互, OpenSSL
是一种众所周知的工具。 您可以轻松地在Linux或Windows上安装它。 OpenSSL具有可用于检索服务器的SSL证书的命令。
请看以下有关通过OpenSSL检索服务器证书的分步教程的帖子(请特别注意注释,以使整个过程自动化)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.