0

i have a cluster on AKS, that is using traefik to serve a simple http service. I'm trying to use letsencrypt, the DNS is setted up and resolves to aks public ip address correctly but all certificate requests becomes stuck and pending, below my configuration (i also have a web route, same as websecure):

---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: service-ingress-secure
spec:
  entryPoints:
    - websecure
  routes:
  - match: Host(`service.domain.io`)
    kind: Rule
    services:
    - name: microbot-service
      port: 443
  tls:
    certResolver: myresolver
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: service-cert
  namespace: default
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: mail@gmail.com
    privateKeySecretRef:
      name: service-cert
    solvers:
    - http01:
        ingress:
          class: traefik
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: service.domain.io
  namespace: default
spec:
  secretName: service.domain.io-tls
  issuerRef:
    name: pistolino-cert
    kind: ClusterIssuer
  commonName: service.domain.io
  dnsNames:
  - service.domain.io

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.