开发者

How can I install a certificate into the local machine store programmatically using Java?

I am trying to install certificate into browser's store using Java/Javascript. I was able to store it in IE, but when it comes to开发者_JAVA百科 mozilla I am not able to install it..

any help is greatly appreciated.


Installing a certificate into the local machine store using Java or Javascript sounds like a security risk to me — if it is somehow possible then I would expect that to be treated as a bug and fixed. Both Java and Javascript are normally sandboxed so they wouldn't have access to modify system settings.

I suggest that you either:

  • ask your users to download the certificate and manually install it, or
  • if the users are in your office, write a shell script to install the certificate (see Programmatically Install Certificate into Mozilla)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜