@KitayVodka

Как установить Let's Encrypt SSL сертификат на поддомен?

Здравствуйте уважаемые! Есть проблема. Никак не могу поставить бесплатный сертификат Let's Encrypt:

Ставить нужно на поддомен.
Основной домен располагает на сервере А с ip 1 (без сертификата)
Поддомен располагается на сервере Б с ip 2 (без сертификата)
Днс у них общие.

Устанавливаю на поддомен на сервере Б с ip 2, в итоге ошибка:
IMPORTANT NOTES:
- We were unable to install your certificate, however, we
successfully restored your server to its prior configuration.
- Congratulations! Your certificate and chain have been saved at
/etc/letsencrypt/live/forum.asdasd.ru/fullchain.pem. Your cert
will expire on 2016-10-27. To obtain a new or tweaked version of
this certificate in the future, simply run letsencrypt-auto again
with the "certonly" option. To non-interactively renew *all* of
your certificates, run "letsencrypt-auto renew"
- If you lose your account credentials, you can recover through
e-mails sent to dasdasd.com.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.


Я так полагаю нужно просто перенести основной домен на сервер Б с ip 2?
Или в чём проблема?
  • Вопрос задан
  • 878 просмотров
Пригласить эксперта
Ответы на вопрос 1
@KitayVodka Автор вопроса
Попытался переустановить, вот такая ошибка:
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.

apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 18 of /etc/apache2/sites-enabled/forum.site.ru-le-ssl.conf: Expected </VirtualHost> but saw </VirtualHost></IfModule>


IMPORTANT NOTES:
- We were unable to install your certificate, however, we
   successfully restored your server to its prior configuration.
root@ubuntu-1404-64bit:/opt/letsencrypt#
]
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы