نصب Let's Encrypt SSL بر روی سرورهای دایرکت ادمین پرینت

  • Let’s Encrypt, نصب اس اس ال در ووزا, نصب اس اس ال, نصب ssl روی دایرکت ادمین
  • 2

در صورتی که سرور مجازی دایرکت ادمین دارید و می خواید بر روی آن اس اس ال نصب کنید

می توانید از Let’s Encrypt به صورت رایگان استفاده کنید

دایرکت ادمین گزینه ای را به شما نشان می دهد که از طریق آن می توانید به هر دامنه ای اس اس ال اضافه کنید

1. Login to DirectAdmin VPS via SSH

Login to your DirectAdmin VPS via SSH as user root

ssh root@IP_Adress -p Port_number

2. Update installed packages

Run the following command to make sure that all installed packages are up to date

yum -y update

3. Get the latest Let’s Encrypt script

Also, we will clean the software list and make sure we’ve got the latest Let’s Encrypt script.

cd /usr/local/directadmin/custombuild/
./build clean all
./build update
./build letsencrypt

and rewrite the configuration files

./build rewrite_confs

3. Configure DirectAdmin

Once the update is completed, open the DirectAdmin configuration file ‘directadmin.conf’ and enable the Let’s Encrypt option by adding or modifying the following line

nano /usr/local/directadmin/conf/directadmin.conf

letsencrypt=1

4. Enable SNI in DirectAdmin

You should also make sure that SNI is enabled in DirectAdmin by adding/modifying this line

enable_ssl_sni=1

5. Restart DirectAdmin

save the file and restart DirectAdmin for the changes to take effect

echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d2000

6.Proceed with the installation in DirectAdmin control panel

With this step Let’s Encrypt is enabled in DirectAdmin and we can proceed with the installation. Login to the control panel at https://yourdomain:2222 with your username and go to ‘SSL Certificates’ under ‘Advanced Features’

 

منبع : 

https://www.linuxcloudvps.com/blog/how-to-install-lets-encrypt-ssl-using-directadmin/


آیا این پاسخ به شما کمک کرد؟

« برگشت