Please help to change configuration.yaml

I had everything working, but something happened with access using duckdns.
and i tried to add this to configuration.yaml:

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

I checked configuration and reloaded HA. Now i can’t access it.
I can ping it and i can try to login in Putty, but my logins and passwords don’t work.

How can i access the file to delete these lines?

Thanks in advance.

You need to use https to access it now.

thanks, that works