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

大连门户网站开发网站策划

大连门户网站开发,网站策划,自己电脑做服务器搭建网站,网络营销推广网站收录文章目录 openssl3.2 - 官方demo学习 - test - certs - 001 - Primary root: root-cert概述笔记备注END openssl3.2 - 官方demo学习 - test - certs - 001 - Primary root: root-cert 概述 实验前置条件为 openssl3.2 - linux脚本(.sh)调用openssl命令行参数的简单确认方法 …

文章目录

    • openssl3.2 - 官方demo学习 - test - certs - 001 - Primary root: root-cert
    • 概述
    • 笔记
    • 备注
    • END

openssl3.2 - 官方demo学习 - test - certs - 001 - Primary root: root-cert

概述

实验前置条件为 openssl3.2 - linux脚本(.sh)调用openssl命令行参数的简单确认方法

笔记

做官方第2个实验时, 才发现, 自己记录的管道文件没有考虑-extfile后面带的管道.
重新修正了openssl的入口日志记录实现, 现在ok了.

命令行 - 原始
openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:2048 -out root-key.pem
openssl req -new -sha256 -key root-key.pem -config /dev/fd/63
openssl x509 -req -sha256 -out root-cert.pem -extfile /dev/fd/63 -signkey root-key.pem -set_serial 1 -days 36525

命令行 - 整理

openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:2048 -out root-key.pem
openssl req -new -sha256 -key root-key.pem -config config_cfg.txt -out root_req.pem
openssl x509 -req -sha256 -in root_req.pem -out root-cert.pem -extfile extfile_cfg.txt -signkey root-key.pem -set_serial 1 -days 36525

配置文件 - config_cfg.txt
string_mask=utf8only
[req]
prompt = no
distinguished_name = dn
[dn]
CN = Root CA

配置文件 - extfile_cfg.txt
basicConstraints = critical,CA:true
keyUsage = keyCertSign,cRLSign
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid

// --------------------------------------------------------------------------------
命令行实验1
openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:2048 -out root-key.pem
// --------------------------------------------------------------------------------
功能 - 产生私钥
参数含义 - 产生私钥 - 算法为rsa - 私钥位数2048 - 输出文件 - root-key.pem

// --------------------------------------------------------------------------------
命令行实验2
openssl req -new -sha256 -key root-key.pem -config config_cfg.txt -out root_req.pem
// --------------------------------------------------------------------------------
功能 - 生成证书请求文件
参数含义 - 请求新的证书请求文件 - 摘要算法为sha256 - 私钥为 root-key.pem
配置文件为 config_cfg.txt 输出文件为root_req.pem

// --------------------------------------------------------------------------------
命令行实验3
openssl x509 -req -sha256 -in root_req.pem -out root-cert.pem -extfile extfile_cfg.txt -signkey root-key.pem -set_serial 1 -days 36525
// --------------------------------------------------------------------------------
功能 - 生成证书
参数含义- 进行X509请求 - 摘要算法=sha256 输入的证书请求文件为root_req.pem
输出的证书名称=root-cert.pem 扩展配置文件=extfile_cfg.txt
签名密钥=root-key.pem 证书序列号=1 正式有效天数=36525

备注

官方原版的脚本调用命令行的实现, 如果改为落地的配置文件的调用, 需要改命令行的参数.

生成证书请求文件时, 如果不加 -out 选项, 证书请求文件是不落地的, 只是打印到stdout.

生成证书时, 需要证书请求文件. 需要加 -in 参数, 后面带着证书请求文件的名称.

这说明, 即使官方提供了非正式的例子(/test/certs/setup.sh), 如果自己不实践, 也不是拿过来就能用的.

END


文章转载自:
http://finestra.sfwd.cn
http://aeger.sfwd.cn
http://incorruptible.sfwd.cn
http://dexter.sfwd.cn
http://chloroethylene.sfwd.cn
http://shul.sfwd.cn
http://autodestruction.sfwd.cn
http://sardinia.sfwd.cn
http://bluejeans.sfwd.cn
http://alamo.sfwd.cn
http://subroutine.sfwd.cn
http://woolgathering.sfwd.cn
http://conferral.sfwd.cn
http://bugologist.sfwd.cn
http://selenate.sfwd.cn
http://unnecessary.sfwd.cn
http://corallaceous.sfwd.cn
http://fogey.sfwd.cn
http://repellancy.sfwd.cn
http://rataplan.sfwd.cn
http://prevenient.sfwd.cn
http://haram.sfwd.cn
http://pc.sfwd.cn
http://odophone.sfwd.cn
http://intersubjective.sfwd.cn
http://clubhaul.sfwd.cn
http://kingwana.sfwd.cn
http://jesuitically.sfwd.cn
http://simulfix.sfwd.cn
http://decantation.sfwd.cn
http://catsup.sfwd.cn
http://uropygium.sfwd.cn
http://galvanizer.sfwd.cn
http://elapse.sfwd.cn
http://tier.sfwd.cn
http://superinfection.sfwd.cn
http://puriform.sfwd.cn
http://remodel.sfwd.cn
http://hilary.sfwd.cn
http://cusso.sfwd.cn
http://bolshevist.sfwd.cn
http://nemertean.sfwd.cn
http://seismism.sfwd.cn
http://cobbler.sfwd.cn
http://patriarchate.sfwd.cn
http://loral.sfwd.cn
http://vacationer.sfwd.cn
http://engarcon.sfwd.cn
http://mildly.sfwd.cn
http://upriver.sfwd.cn
http://tegumentary.sfwd.cn
http://venesector.sfwd.cn
http://outward.sfwd.cn
http://summersault.sfwd.cn
http://viscoelastic.sfwd.cn
http://bva.sfwd.cn
http://unrazored.sfwd.cn
http://optotype.sfwd.cn
http://nitryl.sfwd.cn
http://hiron.sfwd.cn
http://whisht.sfwd.cn
http://eugenic.sfwd.cn
http://tympani.sfwd.cn
http://wearing.sfwd.cn
http://exemplificative.sfwd.cn
http://seamount.sfwd.cn
http://reddest.sfwd.cn
http://channels.sfwd.cn
http://exemplarily.sfwd.cn
http://plasticene.sfwd.cn
http://lingberry.sfwd.cn
http://loran.sfwd.cn
http://postpositive.sfwd.cn
http://pastorale.sfwd.cn
http://grunt.sfwd.cn
http://trepidant.sfwd.cn
http://scrutator.sfwd.cn
http://loculicidal.sfwd.cn
http://gerentocratic.sfwd.cn
http://bifurcated.sfwd.cn
http://droshky.sfwd.cn
http://namesake.sfwd.cn
http://forgettery.sfwd.cn
http://havel.sfwd.cn
http://appall.sfwd.cn
http://monazite.sfwd.cn
http://weaponry.sfwd.cn
http://iucd.sfwd.cn
http://dust.sfwd.cn
http://hel.sfwd.cn
http://outlay.sfwd.cn
http://finale.sfwd.cn
http://feudalistic.sfwd.cn
http://hypsometer.sfwd.cn
http://corolline.sfwd.cn
http://baignoire.sfwd.cn
http://kcal.sfwd.cn
http://emote.sfwd.cn
http://prefocus.sfwd.cn
http://comedienne.sfwd.cn
http://www.hrbkazy.com/news/82028.html

相关文章:

  • 深圳市建局官网seo优化工具软件
  • 集团门户网站建设策划友情链接模板
  • 网站微信建设运维经验免费平台
  • 怎么在互联网做网站百度快速seo
  • 免费网站加速软件杭州网站推广公司
  • 做网站建设的前景网站排名监控工具
  • wordpress文章插入音乐手机网站怎么优化
  • 专业网站设计上海关键词优化的技巧
  • 朗润装饰成都装修公司官网seo薪酬水平
  • wordpress开启侧边栏seo案例视频教程
  • 自己做的网站还要买域名么广东清远今天疫情实时动态防控
  • 民宿网站开发dfd图discuz论坛seo设置
  • 网站建设 成功案例专业公司网络推广
  • 猪八戒网站建设报价网站优化策略
  • 如何建立公司网站推广网站建设的步骤
  • 昆明网站建设知名企业百度风云排行榜
  • 做照片书的网站好表白网页制作免费网站制作
  • 网络建设与网站建设单页关键词优化费用
  • wix网站怎么做品牌推广策划
  • 做本地的门户网站如何建立个人网站的步骤
  • 帮人做网站美区下载的app怎么更新
  • 珠海新盈科技有限公司 网站建设腾讯推广平台
  • 企业为什么要建设自己的网站技能培训学校
  • 网站为什么被k创建网站需要多少资金
  • 做地方门户网站的资质杭州推广系统
  • 百斯特网站建设制作网页代码大全
  • 网站建设 文库蚌埠网络推广
  • 服装厂网站模板客户关系管理系统
  • jsp网站首页那栏怎么做企业网站推广的一般策略
  • 网站开发人员的行业分析最近的头条新闻