carootcert.pem removed now not regenerating by LetsEncrypt

DewlanceVPS

Verified User
Joined
Oct 3, 2016
Messages
106
Hello,

I removed carootcert.pem and other SSL files from conf file to fix SSL issue.

But now when I use this commands then it does not recreate SSL files inside /usr/local/directadmin/conf/


Error while restarting directadmin: error loading certificate: /usr/local/directadmin/conf/cacert.pem



Thanks.
 
If you don't get the files re-created then a request you initiate fails with an error. What are the last bottom 10 lines?
 
If you don't get the files re-created then a request you initiate fails with an error. What are the last bottom 10 lines?

When I ran LetsEncrypt commands for hostname then it does not show any error however file does not recreate inside config file.

In last 10 line, It only contain this " error loading certificate: /usr/local/directadmin/conf/cacert.pem" and other lines are related to mail server restarted, etc.
 
OPENSSL versions?

only one or while ... maybe more.?

I can't help but such things could be important for those who can. :eek:

Also you didn't stil mentioned wich SSL issue??
 
OpenSSL is ok. I think this is related to permission. Unfortunately I can't see LetsEncrypt logs like If permission was denied or something else however I managed to fix it by manually copying it from domains/ssl certs to conf directory and now SSL is working. ;)

I will fix it later.
 
Same problem here - how to fix it? Let's encrypt doesn't create files in /usr/local/directadmin/conf/
CentOS 7.8
DA - newest
 
Will

Code:
/usr/local/directadmin/scripts/set_permissions.sh da_files

fix the issue and allow installation of certificates into DirectAdmin?

If it does not help then please show

Code:
ls -la /usr/local/directadmin/conf/ 
ls -dla /usr/local/directadmin/conf/
 
Still nothing.... @zEitEr ;/

Code:
ls -la /usr/local/directadmin/conf/
razem 36
drwx------ 2 diradmin diradmin 4096 12-16 14:55 .
drwxr-xr-x 7 diradmin diradmin 4096 12-18 17:30 ..
-rw------- 1 diradmin diradmin 2238 12-14 14:33 directadmin.conf
-rw------- 1 diradmin diradmin 3243 12-06 00:12 letsencrypt.key
-rw------- 1 diradmin diradmin 1430 12-06 00:12 letsencrypt.key.json
-rw------- 1 diradmin diradmin 1559 12-16 14:55 license.key
-rw------- 1 diradmin diradmin 1559 11-30 04:01 license.old
-rw------- 1 diradmin diradmin   50 11-17 20:59 my.cnf
-rw------- 1 diradmin diradmin   39 11-17 20:59 mysql.conf

Code:
ls -dla /usr/local/directadmin/conf/
drwx------ 2 diradmin diradmin 4096 12-16 14:55 /usr/local/directadmin/conf/
 
Really guys? No one can help me? I still have this problem... and I can't because of this connect throught SSL in DA :///
 
Please follow https://help.directadmin.com/item.php?id=629 to enable SSL for DirectAdmin.
I did everything I found on the internet... this is new dedicated server, on other my servers everything is working fine....

I generated couple of time successfully this stupid certificate - I can go to this page throught SSL (without :2222 port)

I did also "set_permissions" etc. nothing is working... it's not creating in /usr/local/directadmin/conf/ I don't know why if permissions are set fine??
 
It should show some errors if it fails, please post them.
 
It should show some errors if it fails, please post them.
Where should I check this errors? in /var/log/directadmin there's nothing in logs...? let's encrypt generates fine this certificate... no errors... but it doesn't move them to directadmin's dir...
 
Last edited:
Back
Top