当前位置:网站首页>使用 OpenSSL 创建ssl证书
使用 OpenSSL 创建ssl证书
2022-07-28 08:54:00 【鲨鱼辣椒的小地摊儿】
使用 OpenSSL 创建ssl证书
Airflow官网地址: https://devopscube.com/create-self-signed-certificates-openssl/.
1. flow
付费申请流程
自签名证书流程

2. Common Method
- Key 是私用密钥openssl格,通常是rsa算法。
- Csr 是证书请求文件,用于申请证书。
- crt是CA认证后的证书文,签署人用自己的key给你签署的凭证。
- key的生成
openssl genrsa -des3 -out server.key 2048- 生成没有密码的key
openssl rsa -in server.key -out server.key- 生成生成CA的crt
openssl req -new -x509 -key server.key -out ca.crt -days 3650- 生成csr
openssl req -new -key server.key -out server.csropenssl x509 -req -days 3650 -in server.csr -CA ca.crt -CAkey server.key -CAcreateserial -out server.crt
- 一步到位,替换到自己的域名或者IP地址(注意符号,可复制地址栏)
openssl req -x509 \
-sha256 -days 3560 \
-nodes \
-newkey rsa:2048 \
-subj “/CN=xxxx/C=US/L=San Fransisco” \
-keyout domain.key -out domain.crt
边栏推荐
- CakePHP 4.4.3 发布,PHP 快速开发框架
- 信息学奥赛一本通 1617:转圈游戏 | 1875:【13NOIP提高组】转圈游戏 | 洛谷 P1965 [NOIP2013 提高组] 转圈游戏
- RGB-T追踪——【多模态融合】Visible-Thermal UAV Tracking: A Large-Scale Benchmark and New Baseline
- OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据
- IntelliJ IDEA 关联数据库
- 2022 high voltage electrician examination simulated 100 questions and simulated examination
- Heuristic merging on tree
- Problems encountered in upgrading golang to version 1.18.4
- ES6 let and Const
- Promise learning notes
猜你喜欢

Dn-detr paper accuracy, and analyze its model structure & 2022 CVPR paper

Heuristic merging on tree

express搭建一个简易的本地后台(一)

【广西大学】考研初试复试资料分享

IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望

一款入门神器TensorFlowPlayground

2022 high voltage electrician examination simulated 100 questions and simulated examination

JDBC连接数据库

51单片机存储篇:EEPROM(I2C)

Alibaba cloud server setup and pagoda panel connection
随机推荐
Title and answer of work permit for safety management personnel of hazardous chemical business units in 2022
canvas常用原型方法及绘制图片应用
《数据库系统内 幕》分布式系统
[package deployment]
How does gbase 8A use preprocessing to quickly insert data?
[multithreading] non atomic agreement of long and double
F - jealous two-dimensional reverse order pair
01 tensorflow calculation model (I) - calculation diagram
express搭建一个简易的本地后台(一)
Rgb-t tracking: [multimodal fusion] visible thermal UAV tracking: a large scale benchmark and new baseline
蓝牙技术|2025年北京充电桩总规模达70万个,聊聊蓝牙与充电桩的不解之缘
Hexadecimal representation of negative numbers
Modify virtual machine IP address
What is it like to use gbase C API to execute stored procedures?
树上启发式合并
QT基础练手小程序-简单计算器设计(附带源码,解析)
2022年安全员-B证考试模拟100题及答案
技术分享| 快对讲综合调度系统
Force deduction question (1) -- sum of two numbers
C simply call FMU for simulation calculation