构建后端为etcd的CoreDNS的容器集群(一)、生成自签名证书

笔者拟使用官方的etcd和CoreDNS容器镜像生成带自签名的分布式DNS容器集群。按计划需做生成自签名证书、部署etcd集群、配置CoreDNS以使用etcd作为后端共三步,本文为第一步。

一、生成自签名证书

1、准备CFSSL工具

官网下载:

bash 复制代码
[root@localhost ~]# cd /opt && mkdir cfssl/
[root@localhost opt# cd cfssl
[root@localhost cfssl]# curl -s -L -o cfssl https://github.com/cloudflare/cfssl/releases/download/v1.6.5/cfssl_1.6.5_linux_amd64 
[root@localhost cfssl]# curl -s -L -o cfssljson https://github.com/cloudflare/cfssl/releases/download/v1.6.5/cfssljson_1.6.5_linux_amd64
root@localhost cfssl]# ls 
cfssl  cfssljson
[root@localhost cfssl]# chmod a+x *

2、创建证书签名配置文件

编写一个缺省签名配置文件ca-config.json(可用"./cfssl print-defaults config > ca-config.json"来生成模板,再进行修改),设置证书请求的基础信息,包括有效期,权限等。

[root@localhost cfssl]# vi ca-config.json
[root@localhost cfssl]# cat ca-config.json
{
    "signing":{
        "default":{
            "expiry":"262800h"
        },
        "profiles":{
            "etcd":{
                "usages":[
                    "signing",
                    "key encipherment",
                    "server auth",
                    "client auth"
                ],
                "expiry":"262800h"
            }
        }
    }
}

本例设置缺省和etcd的证书过期时间均为262800小时,30年,etcd证书包括签名、密钥加密、服务器身份验证和客户端身份验证权限。

编写签名请求文件ca-csr.json(可用"./cfssl print-defaults csr > ca-csr.json"来生成模板,再进行修改),设置ca证书的有效期、CN、证书请求的主机名和IP清单、证书信息等。

[root@localhost cfssl]# vi ca-csr.json
[root@localhost cfssl]# cat ca-csr.json
{
    "CA":{"expiry":"262800h"},
    "CN": "etcd",
    "hosts": [
        "etcd-1",
        "etcd-2",
        "etcd-3",
        "coredns-1",
        "coredns-2",
        "coredns-3",
        "127.0.0.1",
        "localhost"
    ],
    "key": {
        "algo": "rsa",
        "size": 2048
    },
    "names": [
        {
            "C": "CN",
            "ST": "CQ",
            "L": "CQ",
            "O": "etcd",
            "OU": "System"
        }
    ]
}

此时主机上的文件

3、生成CA证书

使用CFSSL工具生成CA证书。

bash 复制代码
[root@localhost cfssl]# ./cfssl gencert -initca ca-csr.json | ./cfssljson -bare ca
2024/10/14 12:22:01 [INFO] generating a new CA key and certificate from CSR
2024/10/14 12:22:01 [INFO] generate received request
2024/10/14 12:22:01 [INFO] received CSR
2024/10/14 12:22:01 [INFO] generating key: rsa-2048
2024/10/14 12:22:01 [INFO] encoded CSR
2024/10/14 12:22:01 [INFO] signed certificate with serial number 702901479885177273798408306706267990055396257030

验证证书信息:

bash 复制代码
[root@localhost cfssl]# ./cfssl certinfo -cert ca.pem     
{
  "subject": {
    "common_name": "etcd",
    "country": "CN",
    "organization": "etcd",
    "organizational_unit": "System",
    "locality": "CQ",
    "province": "CQ",
    "names": [
      "CN",
      "CQ",
      "CQ",
      "etcd",
      "System",
      "etcd"
    ]
  },
  "issuer": {
    "common_name": "etcd",
    "country": "CN",
    "organization": "etcd",
    "organizational_unit": "System",
    "locality": "CQ",
    "province": "CQ",
    "names": [
      "CN",
      "CQ",
      "CQ",
      "etcd",
      "System",
      "etcd"
    ]
  },
  "serial_number": "702901479885177273798408306706267990055396257030",
  "sans": [
    "127.0.0.1"
  ],
  "not_before": "2024-10-14T04:17:00Z",
  "not_after": "2054-10-07T04:17:00Z",
  "sigalg": "SHA256WithRSA",
  "authority_key_id": "",
  "subject_key_id": "B4:17:C4:DE:3D:A6:12:0A:E2:47:46:7A:95:BD:79:4D:6E:3A:C8:8F",
  "pem": "-----BEGIN CERTIFICATE-----\nMIIDjzCCAnegAwIBAgIUex8xRPlghlY9nsgk/EWanNxDLQYwDQYJKoZIhvcNAQEL\nBQAwVjELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkNRMQswCQYDVQQHEwJDUTENMAsG\nA1UEChMEZXRjZDEPMA0GA1UECxMGU3lzdGVtMQ0wCwYDVQQDEwRldGNkMCAXDTI0\nMTAxNDA0MTcwMFoYDzIwNTQxMDA3MDQx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\nUMqm\n-----END CERTIFICATE-----\n"
}

可以看到"subject"、issuer"、证书有效期等信息均已生效。

此时主机上的文件:

[root@localhost cfssl]# ll
总用量 18M
-rw-r--r--. 1 root root  375 10月 14 11:39 ca-config.json
-rw-r--r--. 1 root root 1.2K 10月 14 12:22 ca.csr
-rw-r--r--. 1 root root  461 10月 14 11:44 ca-csr.json
-rw-------. 1 root root 1.7K 10月 14 12:22 ca-key.pem
-rw-r--r--. 1 root root 1.3K 10月 14 12:22 ca.pem
-rwxr-xr-x. 1 root root  12M 10月 12 16:24 cfssl
-rwxr-xr-x. 1 root root 6.0M 10月 12 16:25 cfssljsonfssljson

4、生成服务器证书

使用CFSSL工具生成服务器证书。因为已完成CA的初始化,需要删掉ca-csr.json文件中的"CA":{"expiry":"262800h"}这一行。否则执行下一步时会报错"ca section only permitted in initca",无法执行。

bash 复制代码
[root@localhost cfssl]# vi ca-csr.json
[root@localhost cfssl]# head -3 ca-csr.json 
{
    "CN": "etcd",
    "hosts": [
[root@localhost cfssl]# ./cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=etcd ca-csr.json | ./cfssljson -bare etcd
2024/10/14 12:35:48 [INFO] generate received request
2024/10/14 12:35:48 [INFO] received CSR
2024/10/14 12:35:48 [INFO] generating key: rsa-2048
2024/10/14 12:35:48 [INFO] encoded CSR
2024/10/14 12:35:48 [INFO] signed certificate with serial number 440635272983453598154344122362845954472854373569

5、验证服务器证书

bash 复制代码
[root@localhost cfssl]# ./cfssl certinfo -cert etcd.pem   
{
  "subject": {
    "common_name": "etcd",
    "country": "CN",
    "organization": "etcd",
    "organizational_unit": "System",
    "locality": "CQ",
    "province": "CQ",
    "names": [
      "CN",
      "CQ",
      "CQ",
      "etcd",
      "System",
      "etcd"
    ]
  },
  "issuer": {
    "common_name": "etcd",
    "country": "CN",
    "organization": "etcd",
    "organizational_unit": "System",
    "locality": "CQ",
    "province": "CQ",
    "names": [
      "CN",
      "CQ",
      "CQ",
      "etcd",
      "System",
      "etcd"
    ]
  },
  "serial_number": "440635272983453598154344122362845954472854373569",
  "sans": [
    "etcd-1",
    "etcd-2",
    "etcd-3",
    "coredns-1",
    "coredns-2",
    "coredns-3",
    "localhost",
    "127.0.0.1"
  ],
  "not_before": "2024-10-14T04:31:00Z",
  "not_after": "2054-10-07T04:31:00Z",
  "sigalg": "SHA256WithRSA",
  "authority_key_id": "",
  "subject_key_id": "9B:C1:C1:C2:5B:6F:B3:0F:6D:27:88:7D:73:FD:BA:EB:9E:31:7C:60",
  "pem": "-----BEGIN CERTIFICATE-----\nMIID8TCCAtmgAwIBAgIUTS7E3WmnukrPsDt9Nj4xup5LRMEwDQYJKoZIhvcNAQEL\nBQAwVjELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkNRMQswCQYDVQQHEwJDUTENMAsG\nA1UEChMEZXRjZDEPMA0GA1UECxMGU3lzdGVtMQ0wCwYDVQQDEwRldGNkMCAXDTI0\nMTAxNDA0MzEwMFoYDzIwNTQxMDA3MDQzMTAwWjBWMQswCQYDVQQGEwJDTjELMAkG\nA1UECBMCQ1ExCzAJBgNVBAcTAkNRMQ0wCwYDVQQKEwRldGNkMQ8wDQYDVQQLEwZT\neXN0ZW0xDTALBgNVBAMTBGV0Y2QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK\nAoIBAQDdOAXtT+aiO8R/g/hGEhjdaomujyDDcQjN7UBESHilHTUl1sWAR8R2QfCV\n4rU0vjXmZyLnR4+c6CZdLajuQbRpc75UBYLbL2vD6xhaH53ZoUkiBhlgt19YLkZS\nusa336oCIEaSnkC3yrj9AOLnK9BgfS6HxE1NmYp1QiDv4qnix9c15z4+zRPwgaW9\nkOHdftHZlUTxh/dWw38DgPRQ3sGyQLA+Mxc/hQZaTqFHzCEt+/E0PS8awsDRGysV\nwXLto+kEI9S5EkOcmjGbwgym91ZJ2C+KbJ2Hr0XTW4ab6DML1mx0pp52JNJniZ+A\nU8TBlaT2U5XtfwLsBsK63CGGbTrXAgMBAAGjgbQwgbEwDgYDVR0PAQH/BAQDAgWg\nMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0G\nA1UdDgQWBBSbwcHCW2+zD20niH1z/brrnjF8YDBTBgNVHREETDBKggZldGNkLTGC\nBmV0Y2QtMoIGZXRjZC0zggljb3JlZG5zLTGCCWNvcmVkbnMtMoIJY29yZWRucy0z\ngglsb2NhbGhvc3SHBH8AAAEwDQYJKoZIhvcNAQELBQADggEBAJyBV4HIyFYJXhGl\neBalIzpw2TFNqIgQ30x83NvF7UX1x5GSAh8xfk7cR3oVQfyXWmkDafkf859DktDP\nSk8znsMXSOomQUHBuIIzL/xRNGmReAQ0FAnecagFPXX5/fEjK/T0oYmZDkLZBAuq\nQHTtFUXXlonxnJTgy53OzZkzgbAjCKWvgRqvVgCj5YGMPNVKk3QKnt0OTMS01ePV\nEOUaK9ko+Fvs9n2h4mZG7+txv8NkIAB6whfLNj7oQubOnr45OQjRBpFF2qgnRiZk\ngsqRwB46PpO2pf/mcwc0+t/1Zx99+wUpzfFdbCs4eRVxjAZFMtRJE1rujitWVwE6\n2nQB0qA=\n-----END CERTIFICATE-----\n"
}

可以看到服务器证书有效期为30年、授权的主机列表等的。

此时当前目录的全部文件:

bash 复制代码
[root@localhost cfssl]# ll
总用量 18M
-rw-r--r--. 1 root root  375 10月 14 11:39 ca-config.json
-rw-r--r--. 1 root root 1.2K 10月 14 12:22 ca.csr
-rw-r--r--. 1 root root  430 10月 14 12:35 ca-csr.json
-rw-------. 1 root root 1.7K 10月 14 12:22 ca-key.pem
-rw-r--r--. 1 root root 1.3K 10月 14 12:22 ca.pem
-rwxr-xr-x. 1 root root  12M 10月 12 16:24 cfssl
-rwxr-xr-x. 1 root root 6.0M 10月 12 16:25 cfssljson
-rw-r--r--. 1 root root 1.1K 10月 14 12:35 etcd.csr
-rw-------. 1 root root 1.7K 10月 14 12:35 etcd-key.pem
-rw-r--r--. 1 root root 1.4K 10月 14 12:35 etcd.pem

后期需要用到的3个证书内容如下:

bash 复制代码
[root@localhost cfssl]# cat ca.pem
-----BEGIN CERTIFICATE-----
MIIDjzCCAnegAwIBAgIUex8xRPlghlY9nsgk/EWanNxDLQYwDQYJKoZIhvcNAQEL
BQAwVjELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkNRMQswCQYDVQQHEwJDUTENMAsG
A1UEChMEZXRjZDEPMA0GA1UECxMGU3lzdGVtMQ0wCwYDVQQDEwRldGNkMCAXDTI0
MTAxNDA0MTcwMFoYDzIwNTQxMDA3MDQxNzAwWjBWMQswCQYDVQQGEwJDTjELMAkG
A1UECBMCQ1ExCzAJBgNVBAcTAkNRMQ0wCwYDVQQKEwRldGNkMQ8wDQYDVQQLEwZT
eXN0ZW0xDTALBgNVBAMTBGV0Y2QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQDEHlH5MgjEhfyUJX1ajt3IztPkAJSn+D/A6uiCEFQnCmFDBJEB0TBWVofu
qFFGOC8VFxX0l1dKKv3GuJf9uAdpnU2BSkmiK4aX0oY9RdyuLLmmqeLJeZ9T8YCC
GhfHRfdF8woyXLlHXjTjArtSxUnsF9IiyXV/qkUYBdKxAxtGG4i5Ja9Fl79oczUi
WWZwVR8w+L9IvuY5j1LU6nazyuNeGOjOF+ucZ0PxP3jvEx6h9Um7eUsfVMLPNUnG
e8rtFRJAYRpRqnyeIz3jhFszEhTZUlDv+UiR/t6eU7kMUEXIDenPPABdUGHs6cSV
FjidrFmK2ShoM5FReiXj02FJH3JvAgMBAAGjUzBRMA4GA1UdDwEB/wQEAwIBBjAP
BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBS0F8TePaYSCuJHRnqVvXlNbjrIjzAP
BgNVHREECDAGhwR/AAABMA0GCSqGSIb3DQEBCwUAA4IBAQCvlGxoZiKBfH/I6XhQ
7e9yhQla8msXyDynCknCutBoj5a8AedkTqKC4ts3Ha6iW5JELz24k5hAly/UZ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nrTKYNF10R4JByhqU93Xb1VCqDS4uv5EaU6
VjyeazHVtwMm6UCGdGXB/W97VYEITcEqxD2EAPbMM1whEhKTue+6ANgIaBlQefI1
jWKDfjv9YzT+4Qkm6ehp0tIRsSXm1K58rAczGPhdWfz2ceOUnZqx/g==
-----END RSA PRIVATE KEY-----
相关推荐
聂 可 以37 分钟前
Windows环境安装MongoDB
数据库·mongodb
web前端神器37 分钟前
mongodb多表查询,五个表查询
数据库·mongodb
门牙咬脆骨41 分钟前
【Redis】redis缓存击穿,缓存雪崩,缓存穿透
数据库·redis·缓存
门牙咬脆骨43 分钟前
【Redis】GEO数据结构
数据库·redis·缓存
wuxingge1 小时前
k8s1.30.0高可用集群部署
云原生·容器·kubernetes
wusong9991 小时前
mongoDB回顾笔记(一)
数据库·笔记·mongodb
代码小鑫1 小时前
A043-基于Spring Boot的秒杀系统设计与实现
java·开发语言·数据库·spring boot·后端·spring·毕业设计
changuncle1 小时前
MongoDB数据备份与恢复(内含工具下载、数据处理以及常见问题解决方法)
数据库·mongodb
久醉不在酒1 小时前
MySQL数据库运维及集群搭建
运维·数据库·mysql
WindFutrue1 小时前
使用Mybatis向Mysql中的插入Point类型的数据全方位解析
数据库·mysql·mybatis