实验环境

hostname   ip
bjcy-62 172.16.0.62
bjcy-81 172.16.0.81
bjcy-82 172.16.0.82

创建证书

证书服务器搭建: 

创建根证书的config配置文件

文件路径:  /opt/certs/ca-config.json  

{
    "signing": {
        "default": {
            "expiry": "175200h"
        },
        "profiles": {
            "server": {
                "expiry": "175200h",
                "usages": [
                    "signing",
                    "key encipherment",
                    "server auth"
                ]
            },
            "client": {
                "expiry": "175200h",
                "usages": [
                    "signing",
                    "key encipherment",
                    "client auth"
                ]
            },
            "peer": {                
                "expiry": "175200h",
                "usages": [
                    "signing",
                    "key encipherment",
                    "server auth",
                    "client auth"
                ]
            }
        }
    }
}
config

相关文章:

  • 2021-06-22
  • 2021-11-28
  • 2021-11-30
  • 2021-06-18
  • 2022-12-23
  • 2021-07-01
猜你喜欢
  • 2021-08-01
  • 2021-06-21
  • 2022-01-01
相关资源
相似解决方案