We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
SSL сертификат
SSL сертификат
После установки SSL, по https выходит ошибка сервера 500.
Что можно предпринять?
Что можно предпринять?
Re: SSL сертификат
Так же перестал перезагружаться апатч:
* Usage: /etc/init.d/apache2 {start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
Syntax error on line 16 of /home/admin/conf/web/sapache2.conf:
Invalid command 'SSLRequireSSL', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed.
The Apache error log may have more information.
...fail!
* Usage: /etc/init.d/apache2 {start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
Syntax error on line 16 of /home/admin/conf/web/sapache2.conf:
Invalid command 'SSLRequireSSL', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed.
The Apache error log may have more information.
...fail!
Re: SSL сертификат
Команды
не срабатывают ?
Попробуйте исправить следующими командами:
Code: Select all
service apache2 restart
sudo /etc/init.d/apache2 restart
означает что вы пытались выполнить недопустимую команду и система вам указала какие команды допустимы для управления apache.{start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
Скорее всего apache собран без модуля SSLInvalid command 'SSLRequireSSL', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed.
Попробуйте исправить следующими командами:
Code: Select all
a2enmod ssl
service apache2 restart
Re: SSL сертификат
Спасибо решилось:
Code: Select all
sudo a2enmod ssl
sudo a2ensite default-ssl
Re: SSL сертификат
Как только для самой панели поставить сертификат?
Re: SSL сертификат
Только если перевесить панель на домен/поддомен.
Официально эта функция пока не поддерживается, но вроде на форуме кто то выкладывал решение как перевесить панель на домен/поддомен. Поищите.
Официально эта функция пока не поддерживается, но вроде на форуме кто то выкладывал решение как перевесить панель на домен/поддомен. Поищите.
-
- Posts: 16
- Joined: Sun Oct 02, 2016 10:48 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: SSL сертификат
в 2019 не трогать - СЛЕТИТ SSL И НИ ДОБАВИТЬ НИ ВОСТАНОВИТЬmaxtop wrote: ↑Mon Mar 24, 2014 11:40 amСпасибо решилось:
Code: Select all
sudo a2enmod ssl sudo a2ensite default-ssl
Re: SSL сертификат
Да есть решение и могу подтвердить что работает очень нормально.
Если вы на поддомен поставили сертификат то вне зависимости от имени сервера то есть: cat /etc/hostname
Смотрите на папку /usr/local/vesta/data/users/username/ssl и там должны быть файлы :
Code: Select all
le.conf
user.key
srv.domain.ru.ca
srv.domain.ru.crt
srv.domain.ru.key
srv.domain.ru.pem
что получилось вот так :
Code: Select all
ssl_certificate /usr/local/vesta/data/users/username/ssl/srv.domain.ru.crt; # /usr/local/vesta/ssl/certificate.crt
ssl_certificate_key /usr/local/vesta/data/users/username/ssl/srv.domain.ru.key; # /usr/local/vesta/ssl/certificate.key