博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
openssl创建自己的CA certificate
阅读量:7044 次
发布时间:2019-06-28

本文共 868 字,大约阅读时间需要 2 分钟。

Create a Certificate Authority private key (this is your most important key):

$ openssl req -new -newkey rsa:1024 -nodes -out ca.csr -keyout ca.key

Create your CA self-signed certificate:

$ openssl x509 -trustout -signkey ca.key -days 365 -req -in ca.csr -out ca.pem

Issue a client certificate by first generating the key, then request (or use one provided by external system) then sign the certificate using private key of your CA:

$ openssl genrsa -out client.key 1024$ openssl req -new -key client.key -out client.csr$ openssl ca -in client.csr -out client.cer

(You may need to add some options as I am using these commands together with my openssl.conf file. You may need to setup your own .conf file first.)

 

Reference:

https://jamielinux.com/articles/2013/08/create-an-intermediate-certificate-authority/

转载于:https://www.cnblogs.com/Security-Darren/p/4077473.html

你可能感兴趣的文章
linux源代码安装软件
查看>>
2013年4月IT技术行业网站综合影响力排名
查看>>
Magento session机制的分析与应用
查看>>
linux 服务器长ping 加时间戳;转
查看>>
http与https的区别
查看>>
一些可以查询IP地理位置、身份证所在地、手机归属地的接口
查看>>
鼠标滚动插件smoovejs和wowjs
查看>>
我的友情链接
查看>>
javascript学习记录-数组(8)-完结 2014/02/26
查看>>
读取通讯录联系人
查看>>
ssh三大框架简单整合,struts2整合JasperReport报表、图表,解决HTML显示图片不出来,PDF中文不显示的问题...
查看>>
XML基础知识
查看>>
telnet: Unable to connect to remote host: No route to host处理过程
查看>>
我的友情链接
查看>>
单元测试Struts2的Action(包含源码)
查看>>
简要总结最近遇到的5个问题
查看>>
我的友情链接
查看>>
高校专业机房使用VMware Player解决方案
查看>>
我的友情链接
查看>>
Centos Development Tools 安装
查看>>