Im using kobo-install for initial deployment in the server configuration.
Its in a VPS running debian 12 using default configs in the installer.
When trying to auto-install SSL using let’s encrypt, errors occur and the cert-bot container keeps restarting itself over and over again. The container log reads as following:
Logs
2024/09/18 11:52:30 [emerg] 1#1: SSL_CTX_use_certificate(“/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”) failed (SSL: error:0A00018F:SSL routines::ee key too small)
nginx: [emerg] SSL_CTX_use_certificate(“/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”) failed (SSL: error:0A00018F:SSL routines::ee key too small)
2024/09/18 11:52:31 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:32 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:33 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:34 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:36 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:39 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:46 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:52:59 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:53:25 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
2024/09/18 11:54:16 [emerg] 1#1: cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem”: BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/my.domainplaceholder.xyz/fullchain.pem, r) error:10000080:BIO routines::no such file)
And during the setup the last things i have are these:
Setup Logs
Container nginx-certbot-nginx_ssl_proxy-1 Started0.7s
WARN[0000] /opt/nginx-certbot/docker-compose.yml: the attributeversion
is obsolete, it will be ignored, please remove it to avoid potential confusion
WARN[0000] /opt/nginx-certbot/docker-compose.yml: the attributeversion
is obsolete, it will be ignored, please remove it to avoid potential confusion
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
WARN[0000] /opt/nginx-certbot/docker-compose.yml: the attributeversion
is obsolete, it will be ignored, please remove it to avoid potential confusion
Error response from daemon: Container 12e491326be22539a4810b040fd5c7740766359855d9c823bf44eabbfdd910ad is restarting, wait until the container is running
Any tips or tricks to make this work?
I also should add that when disabling SSL and exposing por 80 of the kobofe-nginx-1 container, i can use the tool without errors.