惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
IT之家
IT之家
月光博客
月光博客
U
Unit 42
K
Kaspersky official blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security @ Cisco Blogs
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Schneier on Security
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
P
Palo Alto Networks Blog
爱范儿
爱范儿
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
C
Cisco Blogs
Spread Privacy
Spread Privacy
F
Full Disclosure
博客园 - 聂微东
T
The Blog of Author Tim Ferriss

博客园 - 利刃

命令行访问https(转载,略有改动) 转载:指定浏览器打开指定的网页 返流性食管炎的治疗 ldap 导出、导入ldif数据 跨表批量查找匹配数据-转载(略有改动) 转载:通过yum查找并安装包 转载:dos批处理中路径获取 转载:双网卡添加默认路由,实现内外网同时访问 bandwagonhost.com (搬瓦工)机房网速比较 - 利刃 sftp无法连接问题 转载:Shell 脚本加密 - 略有修改 java ssl 连接AD域 sap快捷登录 转载(略有修改):Windows 8的承载网络设置方法(w8 创建无线网络/ap) minecraft初探 linux图像界面连接-xdm 经典的始终经典(牛蛙) vmware install win8 and server2012 problem windows硬盘优化篇
转载:Keytool 工具介绍
利刃 · 2014-11-27 · via 博客园 - 利刃

keytool -genkey -alias myssl -keyalg RSA -keystore myssl.jks

运行这个命令,系统提示:

 
yourpassword(输入密码)


[Unknown]: www.myssl.cn(输入申请的证书的域名)

 
[Unknown]:Fastcom(输入你所在组织单位的名字)

 
[Unknown]:Fastcom (输入你所在组织的名字)

 
[Unknown]:Shanghai(输入所在城市的名字)

 
[Unknown]:Shanghai(输入所在省份名字)


[Unknown]:CN(输入国家名字,如果是中国,请输入CN)


yes

keytool -list -v -keystore myssl.jks

yourpassword(输入密码)

将显示keystore內容如下:

Keystore type: jks 
Keystore provider: SUN 
Your keystore contains 1 entry 
Alias name: myssl 
Creation date: Nov 24 , 2006 
Entry type: keyEntry 
Certificate chain length: 1 
Certificate[1]: 
Owner: CN=www.myssl.cn, OU=fatcom, O=fastcom, L=Shanghai, ST=Shanghai, C=CN 
Issuer: CN=www.myssl.cn, OU=fastcom, O=fastcom, L=Shanghai, ST=Shanghai, C=CN 
Serial number: 3c22adc1 
Valid from: Thu Nov 24 19:34:25 PST 2006 until: Thu Nov 24 19:34:25 PST 2007 
Certificate fingerprints: 
MD5: F1:5B:9B:A1:F7:16:CF:25:CF:F4:FF:35:3F:4C:9C:F0 
SHA1: B2:00:50:DD:B6:CC:35:66:21:45:0F:96:AA:AF:6A:3D:E4:03:7C:74

keytool -export -alias myssl -keystore myssl.jks -rfc -file testkey

系统输出:

your password(输入密码)

Certificate stored in file

keytool -import -alias myssl -file testkey.cer -keystore myssl.jks 

your new password.(输入truststore新密码)

keytool -list -v -keystore truststore

系统将显示truststore的信息.