# How to setup HTTPS using helm?

**URL:** <https://community.traefik.io/t/how-to-setup-https-using-helm/16310>\
**Category:** Traefik v1\
**Tags:** kubernetes-helm\
**Created:** [November 1, 2022, 3:31am UTC](https://community.traefik.io/t/how-to-setup-https-using-helm/16310 "2022-11-01T03:31:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuizDMM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/luizdmm/32/6124_2.png) [@LuizDMM](https://community.traefik.io/u/LuizDMM)\
**Post date:** [November 1, 2022, 3:31am UTC](https://community.traefik.io/t/how-to-setup-https-using-helm/16310/1 "2022-11-01T03:31:19Z")

</div>

Ok, I'm trying to use Traefik with K8S for the first time. I followed a tutorial and the instructor used Cloudflare, but I would like to use Lets Encrypt. When I finished all the settings, HTTPS was enabled, but with self-signed certificates. How do I fix this?

These are the values I used to deploy my helm:

```auto
additionalArguments:
  - --certificatesresolvers.generic.acme.email=my-email-here
  - --certificatesresolvers.generic.acme.caServer=https://acme-v02.api.letsencrypt.org/directory
  - --certificatesresolvers.generic.acme.httpChallenge.entryPoint=web
  - --certificatesresolvers.generic.acme.storage=/ssl-certs/acme-generic.json
logs:
  general:
    level: INFO

ports:
  web:
    redirectTo: websecure
  websecure:
    tls:
      enabled: true

ingressRoute:
  dashboard:
    enabled: false

persistence:
  enabled: true
  name: ssl-certs
  size: 1Gi
  path: /ssl-certs

deployment:
  initContainers:
    - name: volume-permissions
      image: busybox:1.31.1
      command: ['sh', '-c', 'chmod -Rv 600 /ssl-certs/*']
      volumeMounts:
        - name: ssl-certs
          mountPath: /ssl-certs

ingressClass:
  enabled: true
  isDefaultClass: true

```

and this is my ingress:

```auto
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: traefik
  # annotations:
  # (Optional): Annotations for the Ingress Controller
  # -- ingress class is needed when traefik is not the default
  # kubernetes.io/ingress.class: traefik
  # ---
  # -- entrypoint and tls configurations
  # traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
  # traefik.ingress.kubernetes.io/router.tls: "true"
  # ---
  # -- optional middlewares
  # traefik.ingress.kubernetes.io/router.middlewares:your-middleware@kubernetescrd
  # ---
spec:
  rules:
    - host: 'my-domain.com'
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: profitor-web-service
                port:
                  number: 80

```

Finally, this is my errror:

```auto
MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT

```

Can someone please help me? This is the last step for a client's project.

Edit: I'm using v. 18.0.3 in helm.

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [November 13, 2022, 7:02am UTC](https://community.traefik.io/t/how-to-setup-https-using-helm/16310/2 "2022-11-13T07:02:03Z")

</div>

Are you sure you are using `Traefik v1`, which was last released 1.5 years ago? You put the `v1` tag on your post.

And I recommend to add the `letsencrypt` tag.
