I’m a fresh HA user, never used it before and have set it up on an old RPi 4. Installation was quite easy, but I’m stuck setting up a TLS-certificate.
I’ve installed the “Let’s Encrypt” add-on, created an AAAA entry for my HA instance, created an API key and made the configuration (which I think should be correct), but it’s not working. This is the configuration I’ve made (with domain name and api-key redacted):
keyfile: privkey.pem
certfile: fullchain.pem
challenge: dns
dns:
provider: dns-transip
transip_api_key: >-
my-api-key
transip_global_key: "yes"
transip_username: my-username
domains:
- homeassistant.my-domain.nl
email: [email protected]
key_type: ecdsa
elliptic_curve: secp256r1
I’m a bit fuzzy on the API-key - transip has a maximum validity of 1 month for access tokens, so maybe I’m doing something wrong there, but from the log it seems that another error is blocking me first:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/file-structure.sh
Could not find private key from <stdin>
204D399A7F000000:error:1608010C:STORE routines:ossl_store_handle_load_result:unsupported:crypto/store/store_result.c:151:
cont-init: info: /etc/cont-init.d/file-structure.sh exited 1
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/file-structure.sh
Could not find private key from <stdin>
205DC58D7F000000:error:1608010C:STORE routines:ossl_store_handle_load_result:unsupported:crypto/store/store_result.c:151:
cont-init: info: /etc/cont-init.d/file-structure.sh exited 1
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/file-structure.sh
Could not find private key from <stdin>
205D04987F000000:error:1608010C:STORE routines:ossl_store_handle_load_result:unsupported:crypto/store/store_result.c:151:
cont-init: info: /etc/cont-init.d/file-structure.sh exited 1
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
It looks like the addon is invoking something that’s expecting a key to be fed to it on stdin, but it’s not getting it. Do I need to create some files manually before I can use the addon? Or do I need to setup other things in HA before I do this?
I appreciate any and all suggestions. Home Assistant seems to have a lot of integrations for devices I own, which is cool, but I am feeling a bit overwhelmed with this.