Need beginner help for the usage of let's encrypt with own domain name

Hello all,

I really need some help setting up the Let’s Encrypt add-on.

I do want do use my own domain name. I use transit as an DNS service.
And have tried to follow and understand the documentation, but I’m stuck at the point when I launch the add-on for the first time and it rolls out the following logs.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] executing... 
unable to load Private Key
548545141832:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY
[cont-init.d] exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

It seems the add-on is missing a private key, but I don’t know where I can provide one.

See the add-on configuration bellow:

email: [email protected]
keyfile: /ssl/privkey.pem
certfile: /ssl/fullchain.pem
challenge: dns
  provider: dns-transip
  propagation_seconds: 240
  transip_username: <username>
  transip_api_key: >-
    -----END RSA PRIVATE KEY-----

Struggeling with this issue for about 3 weeks.
I do hope someone will help me out here.



Are you using a proxy? I don’t use this integration but I do use this and it works well. Proxy and letsencrypt in one.

Hello Rob,

I did not reply, my appologies.
I ended up with just deleting every config related to my tinkering on this subject.
And buying a cheap certificate for this domain and just statically using that certificate.