Let's encrypt with Hass.io

Hi
I’m trying tov setup encrypt on my Pi 3 by following this video. At 5:43 he runs the “crontab -e” command and then selects “2” to run the nano editor. I don’t t get this option. How do I start the Nano editor - editing the correct file?

thanks

Torben

If you are on hassio, then just add the Duckdns add-on ( https://home-assistant.io/addons/duckdns/ ).

It sets up both the lets encrypt and dynamic dns. Fast, easy, works.

Thanks for the help. It’s not working so far - could you help me a bit more please.

What I did:

  1. Created my-domain.duckdns.org.
  2. Created port forwarding on my router
  3. Tested the config without https and it’s working perfect
  4. Installed the duckdns add-on on my HassIO
    5.Filled the option in duck dns add-on like this
    {
    “lets_encrypt”: {
    “accept_terms”: true,
    “certfile”: “fullchain.pem”,
    “keyfile”: “privkey.pem”
    },
    “token”: “0b3f85b3-63f7-4872-b97e-7093009e97dc”,
    “domains”: [
    my-domain.duckdns.org
    ],
    “seconds”: 300
    }
    6.Added theese line to my config.yaml
    http:
    base_url: https://funch-andersen.duckdns.org:8123
    ssl_certificate: /ssl/fullchain.pem
    ssl_key: /ssl/privkey.pem
  5. Restared my HA

The web interface is not responding at all, so I’ve to remove the config.yaml changes.
Any hints on what I’m doing wrong is appreciated

Problem solved: Removed the based_url from config.yaml