Установка сертификата Для начала следует установить certbot. Для этого выполняем команду "yum install certbot". Далее генерируем сертификат командой "certbot certonly --webroot --agree-tos --email myemail@mydomain.ru -w /home/bitrix/www/ -d mydomain.ru -d www.mydomain.ru", где заменяем email и домены на свои и указываем свой путь к корню сайта(там будут созданы временные файлы для проверки). При успешной генерации будет сообщение вида: IMPORTANT NOTES:
- If you lose your account credentials, you can recover through
e-mails sent to myemail@mydomain.ru
- Congratulations! Your certificate and chain have been saved at
/etc/letsencrypt/live/mydomain.ru/fullchain.pem. Your
cert will expire on 2021-06-10. To obtain a new version of the
certificate in the future, simply run Let's Encrypt again.
- Your account credentials have been saved in your Let's Encrypt
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration