1/ Create a directory SSL in your HA config directory and copy your certificates there
or
2/ Create a directory SSL in your HA config directory and create a symbolic link from /etc/letsencrypt/live/MY_ADDRESS/ to SSL in your HA config directory
HA only can access files on your config directory only and just like francisp explain you just need to make a link to your SSL directory and it should work.
If you are using docker, you can use volumes to bind that folder to the same name inside the container with read only access. Make sure the docker user has group membership to the original file if the user is root
Im having problems trying to get symbolic link to work, even I have copied these two keys to
/HA/sslKeys/
Im getting:
Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/sslKeys/fullchain.pem’
not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/sslKeys/privkey.pem’. (See /config/configuration.yaml, line 1).
What should my config.yaml be?
http:
ssl_certificate: /sslKeys/fullchain.pem
ssl_key: /sslKeys/privkey.pem
HA is where the config.yam is located, and your code is exactly what I have, spaces included.
So then why does my config fail?
Configuration invalid
Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/sslKeys/fullchain.pem’ not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/sslKeys/privkey.pem’. (See /config/configuration.yaml, line 1).