Сайт не работает на https, почему?

Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#1
Сайт не работает на https ssl сгенерировал
 
Енот
Новичо́к, через «о́»
Регистрация
17 Июн 2019
Сообщения
87
#2
@Dveid, и как это проявляется? Как вы поняли, что https не работает? Я думаю (Предварительно, не получив никакой информации о том, как это проявляется) дело в том, что ssl может начать работать спустя 24 часа (А может и больше). Если у вас именно выскакивает ошибка при заходе по https, то решение думаю тут: https://enota.club/threads/pochemu-nginx-ne-slushaet-443-port.1035/#post-6486
 
Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#4
Не удаётся установить соединение с сайтом. на https ана http все норм
 
Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#5
Что делать незнаю уже и сервер переустанавливал
 
Енот
Новичо́к, через «о́»
Регистрация
17 Июн 2019
Сообщения
87
#6
@Dveid, вы все по моей теме проверили? Все папки сертификатов на месте? Есть ли поддомен m?
 
Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#8
/etc/letsencrypt/live/скрыто/fullchain.pem
/etc/letsencrypt/live/скрыто/privkey.pem
их нету
 
Енот
Новичо́к, через «о́»
Регистрация
17 Июн 2019
Сообщения
87
#10
@Dveid, а ведь они должны быть и установиться по идеи должны с автоустановочника. Это уже вопросы к @Alisa почему они у вас не устанавливаются
 
Думает, что помогает
Регистрация
15 Дек 2017
Сообщения
4,761
#11
Файл с логами генерации сертификата /var/log/get_ssl.log, смотрите там ошибки.
 
Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#12
Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:2 http://security.debian.org stable/updates InRelease
Hit:3 http://nginx.org/packages/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stable InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stable-updates InRelease
Get:6 https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease [1,480 B]
Fetched 1,480 B in 1s (1,197 B/s)
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
...........................................................................................................+..................................................................................+........+..............................................................................................................................+.......................................................................................+...........................................+..............................................................+.......................................+................................................................................................................................................+..................................................................................+.............................................................................................................................................+.........................................................+.....................................................................................................................+.................................................................................................................................................................................................................................+...................................................................+.......+..........................................................................................................................................................................................................................................................+...................................................................................................................................+..........................................................................................................................................................................................................................+...........................................................................................................................................................+.............................................................................................+..................................................................................................+.....................+......................................................................................................................................................+........................+............................................................................................................................................+.............................................................................................................................................................................................................+.........................................................................................................+................................................................................................+..+...+........................................................................................................+..............................................................................................................................+...........................................................................................................................................................................+......................................+....................................................................+........................................................................................................+.............................................................+..............................................................................................................................................................+............................+....................................................+.............................................................+.......................................................................+..............................................+.................................................................+.......................................................................................................................................................................+...............................................+.....................+.............................................................................................+.......................+..............................................................................................................+..........................................................................................................................................................................................................................+......................................................................................................+..................................................................................................................................................+..............................+.......................+............................................................................................................................................................................................+..........................................................................................................+.......+................................................................................+.....................................................................................................................................+.....................................................................................................................................................................+....................................................................................................+..................+.................+.....................................................................................................+.........+..................................+...........................................................................+...........................+............................................................+....................................................................................................+................+...................................................................................................................................+....................+..........................................+..................+..........................................................+................+..........................................................................+.........................................................................................+..............................................................................+...........+...............................................................................................................................................................+.................................................................................................................................................+................................................................+.................................................................................................................................................................................................................................................................................................................................+............................+.................................+...............................+..........................................+............................++*++*++*++*
 
Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#13
Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 http://nginx.org/packages/debian stretch InRelease
Hit:2 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:3 http://security.debian.org stable/updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stable InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stable-updates InRelease
Get:6 https://mega.nz/linux/MEGAsync/Debian_9.0 ./ InRelease [1,480 B]
Fetched 1,480 B in 1s (1,229 B/s)
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
............+.....................................................................................................+.........................................................................................................................................................................................................................................................................................................................................................................................................................................+.........................................................................................................................................+.............................................+..........................................+................................................................................+.................................................................+....................................................+............................................+...........................................+.................................................................+..............................................................................................................................................................................................................................................................................................................................+.......................................+..................................................+.......+...........................................................................................................................+..........................................................+..........+..............................+....................+....................................................+.......................+..................................................................................................................................................................................................................................................................................................................+..............................................+.........................................................................................................................+.............................................+.......+....................................................................+....................+...............................+.+................................................................+.......+..................+................................+....................................................+...........................+.......................................................................................................................+........++*++*++*++*
 
Думает, что помогает
Регистрация
15 Дек 2017
Сообщения
4,761
#14
Енот
Новичо́к, через «о́»
Регистрация
25 Мар 2018
Сообщения
320
#19
Unit sphinxsearch.servic.service could not be found.
и

root@filmox:~# journalctl -xe
Jul 15 18:22:19 filmox sshd[19400]: Received disconnect from 180.168.16.6 port 2
Jul 15 18:22:19 filmox sshd[19400]: Disconnected from 180.168.16.6 port 23898 [p
Jul 15 18:22:32 filmox sshd[19402]: Invalid user lab from 62.234.38.143 port 536
Jul 15 18:22:32 filmox sshd[19402]: input_userauth_request: invalid user lab [pr
Jul 15 18:22:32 filmox sshd[19402]: pam_unix(sshd:auth): check pass; user unknow
Jul 15 18:22:32 filmox sshd[19402]: pam_unix(sshd:auth): authentication failure;
Jul 15 18:22:33 filmox sshd[19404]: Invalid user vnc from 92.50.249.166 port 485
Jul 15 18:22:33 filmox sshd[19404]: input_userauth_request: invalid user vnc [pr
Jul 15 18:22:33 filmox sshd[19404]: pam_unix(sshd:auth): check pass; user unknow
Jul 15 18:22:33 filmox sshd[19404]: pam_unix(sshd:auth): authentication failure;
Jul 15 18:22:34 filmox sshd[19402]: Failed password for invalid user lab from 62
Jul 15 18:22:35 filmox sshd[19402]: Received disconnect from 62.234.38.143 port
Jul 15 18:22:35 filmox sshd[19402]: Disconnected from 62.234.38.143 port 53606 [
Jul 15 18:22:35 filmox sshd[19404]: Failed password for invalid user vnc from 92
Jul 15 18:22:35 filmox sshd[19404]: Received disconnect from 92.50.249.166 port
Jul 15 18:22:35 filmox sshd[19404]: Disconnected from 92.50.249.166 port 48540 [
Jul 15 18:22:45 filmox sshd[19406]: Invalid user coco from 151.80.144.255 port 5
Jul 15 18:22:45 filmox sshd[19406]: input_userauth_request: invalid user coco [p
Jul 15 18:22:45 filmox sshd[19406]: pam_unix(sshd:auth): check pass; user unknow
Jul 15 18:22:45 filmox sshd[19406]: pam_unix(sshd:auth): authentication failure;
Jul 15 18:22:47 filmox sshd[19406]: Failed password for invalid user coco from 1
Jul 15 18:22:47 filmox sshd[19406]: Received disconnect from 151.80.144.255 port
Jul 15 18:22:47 filmox sshd[19406]: Disconnected from 151.80.144.255 port 55852
lines 1045-1067/1067 (END)
 
Думает, что помогает
Регистрация
15 Дек 2017
Сообщения
4,761
#20
Что показывает:
searchd --config /home/filmox.pro/config/production/sphinx/sphinx.conf --status

Вы уже использовали 4-е генерации, осталась одна. Через неделю можно будет пробовать снова.

Вначале остановите и удалите файлы блокировки:
Bash:
searchd --config /home/filmox.pro/config/production/sphinx/sphinx.conf --stop
apt-get autoremove
rm -rf /var/lib/apt/lists/lock
rm -rf /var/cache/apt/archives/lock
rm -rf /var/lib/dpkg/lock
dpkg --configure -a
Сгенерируйте сертификат.

Затем запустите:
searchd --config /home/filmox.pro/config/production/sphinx/sphinx.conf

Покажите логи, если не сгенерировался, используте SSL от CloudFlare.