Renewing Let's Encrypt Certification - Kibana

I'm stumped on renewing these lets encrypt certifications for kibana. There seems to be a permissions error but i'm not sure where. Screenshots show error message and permissions for lets encrypt files and kibana ssl symlinks. thanks!

Error code:

FATAL  Error: EACCES: permission denied, open '/etc/kibana/ssl/<folder>/privkey1.pem'
[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE

Permissions on pem files

total 172
-rw-r--r-- 1 kibana kibana    692 Feb 14  2021  README
lrwxrwxrwx 1 kibana kibana     58 May  6 18:33  chain1.pem -> /etc/letsencrypt/archive/<folder>/chain6.pem
lrwxrwxrwx 1 kibana kibana     62 May  6 18:33  fullchain1.pem -> /etc/letsencrypt/archive/<folder>/fullchain6.pem
lrwxrwxrwx 1 kibana kibana     57 May  6 18:47  cert1.pem -> /etc/letsencrypt/archive/<folder>/cert6.pem
lrwxrwxrwx 1 kibana kibana     60 May 10 11:27  privkey1.pem -> /etc/letsencrypt/archive/<folder>/privkey6.pem
-rw-r----- 1 root   kibana 160167 May 10 11:30 ''$'\033'':q!'
root@<host>:/home/<name># ls -ltr /etc/letsencrypt/archive/<folder>/ | grep 6.pem
-rw-r----- 1 kibana kibana 1704 May  6 16:27 privkey6.pem
-rw-r----- 1 kibana kibana 5611 May  6 16:27 fullchain6.pem
-rw-r----- 1 kibana kibana 3749 May  6 16:27 chain6.pem
-rw-r----- 1 kibana kibana 1862 May  6 16:27 cert6.pem

update: I changed the permissions on privkey1.pem and STILL got 'permission denied':

-rwxrwxrwx 1 kibana kibana 1704 May  6 16:27 /etc/letsencrypt/archive/<folder>/privkey6.pem
:  FATAL  Error: EACCES: permission denied, open '/etc/kibana/ssl/<folder>/privkey1.pem'

The solution was that the /etc/letsencrypt/archive directory was not readable.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.