它与这个问题有关: How to get a *.cer file to add a self-signed HTTPS certificate as trust for 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 文件,以便我可以使过程自动化?