首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏WorkLogs

    使用certstrap快速生成自签名证书

    简介certstrap https://github.com/square/certstrap 是一个自签名证书生成工具,相比 openssl 来说更简易好用。 安装安装要求:Go 1.18+git clone https://github.com/square/certstrapcd certstrapgo buildmv certstrap /usr/local /bin/certstrap -V用法1. 生成 CA 根证书# 会在当前目录下创建一个新的out目录,生成的证书都在该目录下certstrap init --common-name "ExampleCA" --expires "20 years 这个时候就需要客户端也提供证书# 创建CSRcertstrap request-cert -cn client# 签名certstrap sign client --CA ExampleCA4.

    1.1K30编辑于 2023-08-09
领券