在centos中用脚本给firefox导入certificate
来源:互联网 发布:虚拟货币平台源码 编辑:程序博客网 时间:2024/06/06 04:44
在写自动化测试脚本时,如果想给firefox导入certificate,可以使用certutil工具。具体介绍可以看https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Tools/certutil
certutil -A -n \"CN=SonicWALL Firewall DPI-SSL\" -t \"TCu,Cu,Tu\\" -d dbm:/root/.mozilla/firefox/ad128rgd.default -i $cer_opts{'outfile'}
certutil -A -n \"CN=SonicWALL Firewall DPI-SSL\" -t \"TCu,Cu,Tu\\" -d sql:/root/.mozilla/firefox/ad128rgd.default -i $cer_opts{'outfile'}
certutil支持两种类型的数据库: the legacy security databases (cert8.db, key3.db, and secmod.db) and new SQLite databases (cert9.db, key4.db, and pkcs11.txt). If the prefix sql:
is not used, then the tool assumes that the given databases are in the old format.
阅读全文
0 0
- 在centos中用脚本给firefox导入certificate
- 在cocos2dx3.0中用lua脚本导入tiledmap瓦片地图
- CentOS如何给Firefox安装Flash插件
- CentOS如何给Firefox安装Flash插件
- 在firefox中用CSS实现圆角矩形
- 转载:CentOS如何给Firefox安装Flash插件
- 在struts2中用标签并给其 value赋值
- Android中用Spannable在TextView中给文字加上边框
- Android中用Spannable在TextView中给文字加上边框
- Android中用Spannable在TextView中给文字加上边框
- 如何在elipse中用svn导入项目内
- 在 CentOS 中用 Heartbeat/DRBD 建立高可用性群集
- 在centos中用Heartbeat配置高可用性服务器集群
- 在Web Control中用资源保存java script脚本
- 在RHEL6中用BASH脚本搭建DNS域名解析服务器
- 在oracle中用sql脚本生成csv文件举例
- 在Lu脚本中用Plot绘制普通XY图
- 通过在shell脚本中用expect实现远程scp文件
- html获取当前经纬度
- Redis配置及密码修改等
- Java工程师的一些面试总结(4)
- Linux中more和less命令用法
- ugui学习——可动态改变Content大小的ScrollView
- 在centos中用脚本给firefox导入certificate
- 微信js-sdk分享朋友圈回调事件
- Ajax和JSon
- Xcode执行Analyze静态分析
- iterm2 + oh-my-zsh 让你的命令行用的飞起
- 189. Rotate Array
- 原型工具之教育优惠政策对比,哪家强?
- XRefreshView嵌套StickyListHeadersListView问题
- Linux网络编程——tcp并发服务器(poll实现)