当前位置: 首页 > news >正文

命令行安装安全证书

为什么80%的码农都做不了架构师?>>>   hot3.png

To use HTTPS , get help from lik http://www.java-samples.com/showtutorial.php?tutorialid=210
Exporting the SSL certificate (on Windows)
1. Browse to the SSL website
2. Double click the Lock icon in the status bar
3. Click the Details Tab
4. Click the button Copy to File...
5. Click Next in the Export Wizard
6. Choose the first option (default) for DER encoded
7. Click Next
8. Browse to C:\
9. Type any filename for certificate such as mycert.cer
10. Click Next, Click Finish
user following command to import certificate in JRE, use JRE version> 1.4: password: changeit
goto path C:\Program Files\Java\jre6\bin>
keytool -import -alias myprivateroot -keystore ..\lib\security\cacerts -file c:\mycert.cer
certificate imported successfully, now we can hit https server for SSL website
to see certificates in JRE, use following command
C:\Program Files\Java\jre6\bin>keytool -list -keystore ..\lib\security\cacerts
look for alias myprivateroot, if present then it means certificate is imported
Note: make sure now you are using JRE from C:\Program Files\Java\jre6\bin>, if not then copy jre\lib\security\cacerts fiel to the
//  JRE which you are using, so that certificate got copied and will be available

转载于:https://my.oschina.net/blw/blog/14183

相关文章:

  • 100题_26 和为n连续正数序列
  • 实战Active Directory站点部署与管理,Active Directory系列之十
  • Office 2007免序列号安装的ISO制作方法
  • 继神曲之后的忐忑(解决多款浏览器兼容xml问题)
  • 工业故事:奇瑞的故事(转载)
  • php Socket 入门例子
  • IIS W3C日志记录字段和HTTP状态代码的说明
  • 需求分析的定义(转)
  • 发博文表决心
  • Linux shell 除法运算
  • 我对浮动的理解和认识(二)
  • git submodule,解决依赖模块更新
  • C#使用IrisSkin2.dll在程序中美化界面
  • 15几句话让你变得油嘴滑舌
  • 批处理自动优化注册表与自动优化关闭服务
  • [译]CSS 居中(Center)方法大合集
  • DOM的那些事
  • ES6核心特性
  • Unix命令
  • Work@Alibaba 阿里巴巴的企业应用构建之路
  • 小程序button引导用户授权
  • 赢得Docker挑战最佳实践
  • 在Docker Swarm上部署Apache Storm:第1部分
  • ​​​​​​​​​​​​​​Γ函数
  • ​​​​​​​GitLab 之 GitLab-Runner 安装,配置与问题汇总
  • ​批处理文件中的errorlevel用法
  • #ubuntu# #git# repository git config --global --add safe.directory
  • #宝哥教你#查看jquery绑定的事件函数
  • $.type 怎么精确判断对象类型的 --(源码学习2)
  • (+4)2.2UML建模图
  • (0)Nginx 功能特性
  • (1)(1.9) MSP (version 4.2)
  • (1)安装hadoop之虚拟机准备(配置IP与主机名)
  • (C++)八皇后问题
  • (深度全面解析)ChatGPT的重大更新给创业者带来了哪些红利机会
  • (新)网络工程师考点串讲与真题详解
  • (自适应手机端)响应式新闻博客知识类pbootcms网站模板 自媒体运营博客网站源码下载
  • **PHP分步表单提交思路(分页表单提交)
  • .NET Core WebAPI中使用swagger版本控制,添加注释
  • .NET Core、DNX、DNU、DNVM、MVC6学习资料
  • .NET MVC之AOP
  • .net程序集学习心得
  • .NET连接MongoDB数据库实例教程
  • .one4-V-XXXXXXXX勒索病毒数据怎么处理|数据解密恢复
  • [ 云计算 | Azure 实践 ] 在 Azure 门户中创建 VM 虚拟机并进行验证
  • [<MySQL优化总结>]
  • [2016.7 day.5] T2
  • [20190113]四校联考
  • [Angular] 笔记 18:Angular Router
  • [CUDA 学习笔记] CUDA kernel 的 grid_size 和 block_size 选择
  • [EFI]Acer Aspire A515-54g电脑 Hackintosh 黑苹果efi引导文件
  • [elastic 8.x]java客户端连接elasticsearch与操作索引与文档
  • [hdu 2826] The troubles of lmy [简单计算几何 - 相似]
  • [Hive] 常见函数
  • [js] 正则表达式