如何导入与SWT浏览器中的SSL证书文件 [英] How to import a SSL certificate file with SWT Browser

查看:258
本文介绍了如何导入与SWT浏览器中的SSL证书文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用SWT浏览器,有没有什么办法来导入一个SSL证书文件转换成Java,使其与SWT浏览器的工作?

With SWT Browser, is there any way to import a SSL certificate file into Java and make it work with SWT Browser?

使用Firefox,可以通过编辑 - preferences - 高级 - 加密 - 查看证书导入命令导入它,但因为Mozilla不分享彼此的个人信息,我们不能重复使用。

With Firefox, you can import it by Edit-Preferences-Advanced-Encryption-View Certificates-Import command, but since Mozilla doesn't share profile with each other, we are not able to reuse that.

有什么办法?有何意见?在此先感谢!

Is there any way? Any advices? Thanks in advance!

推荐答案

SWT浏览器只是一个显示使用一个引擎的网页组件。没有多余的兼容性。

SWT Browser is just a component to display web pages using one of the engines. There is no extra-compatibility.

证书每个平台和放大器上不同的方式管理;浏览器。没有任何单一的跨平台界面导入证书。你必须找到/开发一种使用其他工具比SWT浏览器组件导入证书。

Certificates are managed differently on each platform & browser. There is no single-crossplatform interface to import certs. You have to find/develop a way to import certificate using other tools than SWT Browser component.

例如在Windows上,你要看看如何使用Java,可能使用一些命令行工具,如MMC导入在Windows证书。

For example on Windows, you have to look how to import certificate on Windows using Java, probably use some command-line tools like mmc.

在换句话说,你必须要找到特殊的基于浏览器的界面导入证书。

In other words you have to find special browser-based interface to import certs.

这篇关于如何导入与SWT浏览器中的SSL证书文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆