DirectAdmin Letsencrypt for servers hostname

I noticed on your DirectAdmin images you have letsencrypt  pre installed.
the SSL will not install on my servers hostname. 

Please check the fowlloing before running any of the cli commands else they will fail.

  1. Your hostname is resolving to the server correctly
  2. your hostname is set in correctly "Administrator Settings" in DirectAdmin  


If both are correct and the SSL will still not install  follow these steps. 

  1. Change your hostname  to some random hostname in DirectAdmin  "Administrator Settings"
  2. Wait at 5 minutes
  3. Change your hostname  back to your original  hostname in DirectAdmin  "Administrator Settings"
  4. Wait at 5 minutes

then run these commands from CLI as root 

cd /usr/local/directadmin/scripts
./letsencrypt.sh request_single myhostname.domain.com 4096

 

  1. If that does Not clear the issue log into directadmin as admin 
  2. Go to DNS adminstration & delete the zone hostname.domain.com & re-add it back manually 
  3. or add your servers hostname  as a A record to domain.com if it is hosted on your server 

then run these commands from CLI as root 

echo hostname.domain.com  >> /etc/virtual/domains

cd /usr/local/directadmin/scripts

./letsencrypt.sh request_single myhostname.domain.com 4096

Of coarse changing hostname.domain.com  for your real hostname  

  • 0 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

New DNS

I Had you set up my nameservers in my new webserver. When I went to my...

I keep getting brute force attack warnings in my email

We have installed a brute force detector & firewall on your server this is a FREE added layer...

Reverse DNS (rDNS) (PTR)

How to Setup Reverse DNS Reverse DNS (rDNS) for your IP address can only be setup by...

TOS/AUP

For our Terns of service  and acceptable use  please see...

Reboots & Hardware Failure

1. Log a Priority ticket & include main Ip Address and check "reboot my server" 2. You may...