开发者

Root authority in xulRunner

开发者 https://www.devze.com 2023-04-09 02:16 出处:网络
I need to embed my own Trusted Root Authority for SSL connections in my XulRunner app. Unfortunatelly I can\'t find how to do this...

I need to embed my own Trusted Root Authority for SSL connections in my XulRunner app.

Unfortunatelly I can't find how to do this...

cert_override.txt can't help my because I don't know all the server links nor all the 开发者_StackOverflow社区

certificates that must be accepted, but they are signed by the corporate authority..


You cannot change the "built-in" authorities because they are compiled into nssckbi.dll. Unless you use a custom XULRunner build of course and change its source code.

You can add a new authority to the user profile however, the relevant file is cert8.db. You could use Firefox to add a new root certificate (Options / Advanced / Encryption / View certificates / Authorities / Import) and then take the resulting cert8.db file for your XULRunner profile. You can add it to the default profile - copy it into the defaults/profile directory of your application.

0

精彩评论

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