Citadel 中证书的流转
生成CA
citadel 中有两种方式设置 istio-ca-secret
:
- 先在k8s中手动创建一个
istio-ca-secret
, 这种主要用于在同时部署多个 citadel 的时候。避免大家同时创建,出现竞争的情况。 - citadel 自己创建
istio-ca-secret
,自己生成根证书和私钥。
NewSelfSignedIstioCAOptions() 生成自签发的证书和对应的私钥,并将其作为 secret
保存到 apiserver
中。 名称为 istio-ca-secret
命名空间为 istio-system
.
然后将自签名的证书和外部导入的证书 rootCertFile
一起保存到名称为 istio-security
的 configmap
中。保存方式为字节拼接,即将 自签名证书的byte 数组和 外部证书的 bytes数组连接到一起。
自签名证书及私钥保存在
istio-ca-secret
的 secret 中 configmap 中保存的是自签名证书和外部证书的组合
存储到 configmap中
InsertCATLSRootCert() 会将所有的证书信息都存储到 一个名叫 istio-security
命名空间为 istio-system
的命名空间中。
更新的时候会先查询对应的 configmap 是否存在,如果不存在就新建一个并插入对应的证书数据,否则就更新已经存在的证书数据
生成sa的证书
upsertSecret()
用于生成 serviceaccount
对应的 secret
。
创建前会先查看命名空间下对应的 secret
是否已经存在,如果已经存在则不做处理,否则创建新的secret。
secret 过期处理由 scrtUpdated
进行处理。 scrtUpdated
是 k8s 中一个 list-watch 中注册的方法。当事件触发时,根据条件判断是否需要更新secret。
这里为了避免由于网络导致的失败,设置了一个3次的重试。直到成功的时候才返回。
附录
istio-ca-secret
ca 对应的认证信息:
ca-cert.pem
证书ca-key.pem
私钥
1
$ kubectl get secret istio-ca-secret -n istio-system -o yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
data:
ca-cert.pem: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMzakNDQWNhZ0F3SUJBZ0lSQU9wRnhlRnpLbExKakJoTHg3VmVWS0l3RFFZSktvWklodmNOQVFFTEJRQXcKR0RFV01CUUdBMVVFQ2hNTlkyeDFjM1JsY2k1c2IyTmhiREFlRncweU1EQXpNVGt4TVRVNE5UbGFGdzB6TURBegpN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xClovalU4MEVDZ1lFQWhXQkFlTEdKN2hLVUNJTEVpZkc2Ly9WNjRsNFhneS9OMmhRNW5PSk1qZmNnYzZIYjJqNWcKVWVERkNsM0UyZVE2ayt3WFBKb0xmSWw2VFdmelR4KzEwWGd0ZTNhOXI2SW5NVStlVVJRc1hnN1A4Y1N3aEJYbgpiNlREUEJ5Q1Z6dnV6OWduOTJUY29naWcxTnNRdVRlR2JjMFlWV21PSHJpak5FWHFTdDFnRHZrPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=
cert-chain.pem: ""
key.pem: ""
root-cert.pem: ""
kind: Secret
metadata:
creationTimestamp: "2020-03-19T11:58:59Z"
name: istio-ca-secret
namespace: istio-system
resourceVersion: "13304678"
selfLink: /api/v1/namespaces/istio-system/secrets/istio-ca-secret
uid: 04cf29f1-69d9-11ea-b652-fa163e56fdff
type: istio.io/ca-root
istio-security
configmap 中存储的数据, 这里的证书就是 istio-ca-secret
中的证书
1
$ kubectl get configmap istio-security -n istio-system -o yaml
1
2
3
4
5
6
7
8
9
10
11
12
apiVersion: v1
data:
caTLSRootCert: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMzakNDQWNhZ0F3SUJBZ0lSQU9wRnhlRnpLbExKakJoTHg3VmVWS0l3RFFZSktvWklodmNOQVFFTEJRQXcKR0RFV01CUUdBMVVFQ2hNTlkyeDFjM1JsY2k1c2IyTmhiREFlRncweU1EQXpNVGt4TVRVNE5UbGFGdzB6TURBegpNVGN4TVRVNE5UbGFNQmd4RmpBVUJnTlZCQW9URFdOc2RYTjBaWEl1Ykc5allXd3dnZ0VpTUEwR0NTcUdTSWIzCkRRRUJBUVVBQTRJQkR3QXdnZ0VLQW9JQkFRRFFHLzI4ZTZtc1FOaDhOa3o1U3lOUHdwV0svb3pJVGhMdzRxUEoKYUdhN3lBdFllYy9jbm84UXpCZ25VK0RteDY4NFhxdE5jSURTWHJ5bE52Y3llR1JuWjY5Tml2MVh2amRWYW1nOQpVQS9mVS9KMFY5Tmt1OGNBNkduSjBkZnhLSDZzZ2FJUzdoc2pQWTM2YVJHeDhTaTFjY09aYWdoUmJQQW1lTW5tCmd2dGRqRDVjc0lwOFNhTXpsdFJKNHU4SFZla2UrRGQvZ01LMGxTalNybU9LK0hUc0xMZk5Xd0Rpb3ZEUVpNQ0QKU29sa1NpUVlnOTRDQUVpdmwyR1NOZzEwdmZCV3I2MzdpVS85bGZENnk3cXY2c1FpeVJlTGZDOGFvOEtMMzEvZwpkV2RUd2IyR3kwV1FwV2w4a2IzTnI0U0RoYzNGcG5wZ2h2U0d2R3UzOEdOcjExalJBZ01CQUFHakl6QWhNQTRHCkExVWREd0VCL3dRRUF3SUNCREFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQTBHQ1NxR1NJYjNEUUVCQ3dVQUE0SUIKQVFBcXUvRnBjK2JoRzREbzJEdlQ3UnBQQjA1NXRGRlRhWmJweWUxQklJd2o5a0M0U2o0bmo5NTB1UjZ3Y0dYQgpJSjJxNkJZQUprRDJFKzFobTMxajVkMUx5dDk3R21hUk16Uzhaam9VOTM5OFBDSk80MWF2NnJoeVZpa1c3cUxBCkVCT09aTjJ6RDUxcTJsZjVTN2lPNHhiM2hvOEtSVy9Hd2Q3R2ZhT1NVN1I1a0VTSWFneVdUOTd6WlRoemh5UTAKSUVqcGF6Sm9jc1dSV2k4aFBremhGZnZ3aGFSTko5Tm42NkdJZ3g2YkRJN1BYdFdtTy9kLzRpbWdCN2hwSi9JawozajJzYnQ3QU40YlVneU56aU1xY053UWh5bGZyRUppS2F6U1BuUVZHdENjRGtXOVV0MlcyeUtaTkJ5K3h5S0JTCi8zYXdIVFA0dzVXWHhzdDFFVzNDU1JPcQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
kind: ConfigMap
metadata:
creationTimestamp: "2020-03-19T11:59:00Z"
name: istio-security
namespace: istio-system
resourceVersion: "13304679"
selfLink: /api/v1/namespaces/istio-system/configmaps/istio-security
uid: 0533a9fc-69d9-11ea-b652-fa163e56fdff
key-and-cert
serviceaccount
对应的secret, 其中包含了 serviceaccount
对应的证书,私钥和根证书和。
cert-chain.pem
证书key.pem
私钥root-cert.pem
根证书, 就是istio-ca-secret
中的证书
1
$ kubectl get secret istio.default -n ns1 -o yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
data:
cert-chain.pem: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURHekNDQWdPZ0F3SUJBZ0lRZGYycGRldjg3djFoQXhyclhyZmE4REFOQmdrcWhraUc5dzBCQVFzRkFEQVkKTVJZd0ZBWURWUVFLRXcxamJIVnpkR1Z5TG14dlkyRnNNQjRYRFRJd01ETXhPVEV4TlRrd05Gb1hEVEl3TURZeApOekV4TlRrd05Gb3dBRENDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFMNk1DTU9VCjJ2TVVsT2ZkNko0a3FJN1A5QjkyQm1Xc1NTaTVmS3dPSU8xMlFJaTFibmpnRXNieHJRaUlRYjYzbTlTM2hmL1EKb2ZML1QxMkljTnZrOEU4MDh4V2U0U1E0aG8rT0pQNnk4T0c5b242Rk1HY1VmMEJUTHQrSHFHV3lhQjBGQ2dwYwo1VmtHa3RLeWhUSHVYU1VUQ3RsKzlDRUZZOFYrZzM5N3VNRDdES1p6MVZRa2pZYThmaVdUS1VZSGgyN0dFN1EyCldqTEFWbHh3cFNpYnYyOURDdVE1OGFHa1UxNFA4ZW1uTy9KVjlHUTY2OWR1SENRa0o1dHVDaENwNGdVeFJSb1UKU0w3aVc1T3ZXOFhZQkFqUXlGV0J1UlFCVVFDMllXYVdDbm13UXhXRDY3Q3h0WXR3c1V2L2UxY3BaR3ZsMy9VUgowRllQa0dDOEtjdnJJSjBDQXdFQUFhTjVNSGN3RGdZRFZSMFBBUUgvQkFRREFnV2dNQjBHQTFVZEpRUVdNQlFHCkNDc0dBUVVGQndNQ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VneU56aU1xY053UWh5bGZyRUppS2F6U1BuUVZHdENjRGtXOVV0MlcyeUtaTkJ5K3h5S0JTCi8zYXdIVFA0dzVXWHhzdDFFVzNDU1JPcQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
kind: Secret
metadata:
annotations:
istio.io/service-account.name: default
creationTimestamp: "2020-03-19T11:59:04Z"
name: istio.default
namespace: ns1
resourceVersion: "13304687"
selfLink: /api/v1/namespaces/ns1/secrets/istio.default
uid: 075b2323-69d9-11ea-b652-fa163e56fdff
type: istio.io/key-and-cert