alidns-webhook¶
用于 alidns 的 ACME DNS webhook 提供商。
安装证书管理器¶
请在此查找文件: https://cert-manager.io/docs/installation/kubernetes/
安装 webhook (cert-manager(v0.11) 及以上)¶
-
安装 alidns-webhook
-
创建包含 alidns 凭证的秘密
-
发行人例子
apiVersion: cert-manager.io/v1alpha2 kind: ClusterIssuer metadata: name: letsencrypt-staging spec: acme: # Change to your letsencrypt email email: certmaster@example.com server: https://acme-staging-v02.api.letsencrypt.org/directory privateKeySecretRef: name: letsencrypt-staging-account-key solvers: - dns01: webhook: groupName: acme.yourcompany.com solverName: alidns config: region: "" accessKeySecretRef: name: alidns-secret key: access-key secretKeySecretRef: name: alidns-secret key: secret-key
-
颁发证书
安装 webhook (cert-manager(v0.11) 之前的)¶
-
安装 alidns-webhook
-
创建包含 alidns 凭证的秘密
-
发行人例子
apiVersion: certmanager.k8s.io/v1alpha1 kind: ClusterIssuer metadata: name: letsencrypt-staging spec: acme: email: certmaster@example.com server: https://acme-staging-v02.api.letsencrypt.org/directory privateKeySecretRef: name: letsencrypt-staging-account-key solvers: - dns01: webhook: groupName: acme.yourcompany.com solverName: alidns config: region: "" accessKeySecretRef: name: alidns-secret key: access-key secretKeySecretRef: name: alidns-secret key: secret-key
-
颁发证书