Ssl 在AKS上调试证书管理器证书创建失败
我正在Azure AKS上部署cert manager,并试图让它请求一个Let's Encrypt证书。由于未知授权机构签署的Ssl 在AKS上调试证书管理器证书创建失败,ssl,kubernetes,azure-aks,cert-manager,Ssl,Kubernetes,Azure Aks,Cert Manager,我正在Azure AKS上部署cert manager,并试图让它请求一个Let's Encrypt证书。由于未知授权机构签署的证书出现故障错误,我无法进一步排除故障 不确定这是否与信任LE服务器、隧道前端pod或内部AKS自行生成的CA有关。因此,我的问题是: 如何强制证书管理器调试(显示更多信息)它不信任的证书 也许问题经常发生,并且有一个已知的解决方案 应采取哪些步骤进一步调试该问题 我在jetstack/cert manager的Github页面上创建了一个问题,但没有得到回答,所以
证书出现故障
错误,我无法进一步排除故障
不确定这是否与信任LE服务器、隧道前端pod或内部AKS自行生成的CA有关。因此,我的问题是:
- 如何强制证书管理器调试(显示更多信息)它不信任的证书
- 也许问题经常发生,并且有一个已知的解决方案
- 应采取哪些步骤进一步调试该问题
cert manager 2020/05/15 14:22:58 http:10.20.0.19:35350的TLS握手错误:远程错误:TLS:坏证书
其中10.20.0.19
是tunnelfront
pod的IP
尝试kubectl description order…
askubectl description certificaterequest…
返回错误的CSR内容(如上所述),但不返回订单ID
环境详情:
- Kubernetes版本:
1.15.10
- 云提供商/提供者:
Azure(AKS)
- 证书管理器版本:
0.14.3
- 安装方法:静态清单(见下文)+群集颁发者(见下文)+常规CRD(非旧式)
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
namespace: cert-manager
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: x
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- dns01:
azuredns:
clientID: x
clientSecretSecretRef:
name: cert-manager-stage
key: CLIENT_SECRET
subscriptionID: x
tenantID: x
resourceGroupName: dns-stage
hostedZoneName: x
舱单:
imagePullSecrets: []
isOpenshift: false
priorityClassName: ""
rbac:
create: true
podSecurityPolicy:
enabled: false
logLevel: 2
leaderElection:
namespace: "kube-system"
replicaCount: 1
strategy: {}
image:
repository: quay.io/jetstack/cert-manager-controller
pullPolicy: IfNotPresent
tag: v0.14.3
clusterResourceNamespace: ""
serviceAccount:
create: true
name:
annotations: {}
extraArgs: []
extraEnv: []
resources: {}
securityContext:
enabled: false
fsGroup: 1001
runAsUser: 1001
podAnnotations: {}
podLabels: {}
nodeSelector: {}
ingressShim:
defaultIssuerName: letsencrypt-prod
defaultIssuerKind: ClusterIssuer
prometheus:
enabled: true
servicemonitor:
enabled: false
prometheusInstance: default
targetPort: 9402
path: /metrics
interval: 60s
scrapeTimeout: 30s
labels: {}
affinity: {}
tolerations: []
webhook:
enabled: true
replicaCount: 1
strategy: {}
podAnnotations: {}
extraArgs: []
resources: {}
nodeSelector: {}
affinity: {}
tolerations: []
image:
repository: quay.io/jetstack/cert-manager-webhook
pullPolicy: IfNotPresent
tag: v0.14.3
injectAPIServerCA: true
securePort: 10250
cainjector:
replicaCount: 1
strategy: {}
podAnnotations: {}
extraArgs: []
resources: {}
nodeSelector: {}
affinity: {}
tolerations: []
image:
repository: quay.io/jetstack/cert-manager-cainjector
pullPolicy: IfNotPresent
tag: v0.14.3
似乎
v0.14.3
有某种错误。对于v0.15.0
,问题不会出现