当前位置:网站首页>keytool命令
keytool命令
2022-08-04 02:21:00 【菠萝Hero】
- 语法格式:keytool [命令]
常用参数:
-certreq生成证书请求
-changealias更改条目的别名
-delete删除条目
-exportcert导出证书
-genkeypait生成密钥对
-genseckey生成密钥
-gencert根据证书请求生成证书
-importcert导入证书或证书链
-importkeystore从其他密钥库导入一个或所有条目
-keypasswd更改条目的密钥口令
-list列出密钥库中的条目
-printcert打印证书内容
-printcertreq打印证书请求的内容
-printcrl打印CRL文件的内容
-storepasswd更改密钥库的存储口令
查看证书
keytool -list -keystore %JAVA_HOME%\jre\lib\security\cacerts
导入证书
keytool -import -alias [证书别名] -keystore %JAVA_HOME%\jre\lib\security\cacerts -file [证书路径] -trustcacerts
删除证书
keytool -delete -alias [删除的证书别名] -keystore %JAVA_HOME%\jre\lib\security\cacerts -storepass [密钥]
tips:[密钥]一般为changeit
边栏推荐
- LeetCode:899. 有序队列【思维题】
- 在更一般意义上验算移位距离和假设
- QNX Hypervisor] 10.2 vdev 8259 2.2 user manual
- esp32 releases robot battery voltage to ros2 (micro-ros+CoCube)
- Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
- Snake game bug analysis and function expansion
- 第08章 索引的创建与设计原则【2.索引及调优篇】【MySQL高级】
- Instance, 038: the sum of the diagonal matrix
- html select标签赋值数据库查询结果
- 企业虚拟偶像产生了实质性的价值效益
猜你喜欢

脚手架内容详解分析

Example 035: Setting the output color

Example 041: Methods and variables of a class

There are n steps in total, and you can go up to 1 or 2 steps each time. How many ways are there?

Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain

The idea of the diagram

【云原生】DevOps(六):Jenkins流水线

什么是SVN(Subversion)?

C program compilation and predefined detailed explanation

Flink原理流程图简单记录
随机推荐
大佬们,读取mysql300万单表要很长时间,有什么参数可以优惠,或者有什么办法可以快点
实例040:逆序列表
splice随机添加和删除的写法
浏览器存储
Countdown to 2 days, the "New Infrastructure of Cultural Digital Strategy and Ecological Construction of Cultural Art Chain" will kick off soon
【指针内功修炼】深度剖析指针笔试题(三)
Utilities of Ruineng Micrometer Chip RN2026
在更一般意义上验算移位距离和假设
Small Turtle Compilation Notes
一个注解替换synchronized关键字:分布式场景下实现方法加锁
小程序:扫码打开参数解析
Zabbix set up email alert + enterprise WeChat alert
TOML配置文件格式,YAML最有力的竞争者
2022年T电梯修理考题及答案
Kubernetes:(九)coredns(浪不动了)
QNX Hypervisor 2.2用户手册]10.1 通用vdev选项
sql有关问题,小时粒度,找到前一个小时内的数据
2022.8.3-----leetcode.899
ssh服务详解
What is SVN (Subversion)?