Unable to connect. Firefox can’t establish a connection to the server
Unable to connect. Firefox can’t establish a connection to the server
Hi
Only thing I did I tried to install goaccess.
Can you please help to restore my admin login page ?


Only thing I did I tried to install goaccess.
Can you please help to restore my admin login page ?
Code: Select all
root@inter:~# service vesta restart
Job for vesta.service failed because the control process exited with error code.
See "systemctl status vesta.service" and "journalctl -xe" for details.
root@inter:~# systemctl status vesta.service
● vesta.service - LSB: starts the vesta control panel
Loaded: loaded (/etc/init.d/vesta; generated)
Active: failed (Result: exit-code) since Mon 2019-11-11 18:40:00 UTC; 11s ago
Docs: man:systemd-sysv-generator(8)
Process: 4697 ExecStart=/etc/init.d/vesta start (code=exited, status=1/FAILURE)
Nov 11 18:40:00 inter.com systemd[1]: Starting LSB: starts the vesta control panel...
Nov 11 18:40:00 inter.com vesta[4697]: * Starting vesta-nginx vesta-nginx
Nov 11 18:40:00 inter.com vesta[4697]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/usr/local/vesta/ssl/certificate.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Nov 11 18:40:00 inter.com systemd[1]: vesta.service: Control process exited, code=exited status=1
Nov 11 18:40:00 inter.com systemd[1]: vesta.service: Failed with result 'exit-code'.
Nov 11 18:40:00 inter.com systemd[1]: Failed to start LSB: starts the vesta control panel.
root@inter:~# vesta start
vesta: command not found
Code: Select all
df -h
Filesystem Size Used Avail Use% Mounted on
udev 448M 0 448M 0% /dev
tmpfs 92M 736K 92M 1% /run
/dev/vda1 15G 12G 3.0G 80% /
tmpfs 460M 0 460M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 460M 0 460M 0% /sys/fs/cgroup
/dev/vda15 105M 3.6M 101M 4% /boot/efi
tmpfs 92M 0 92M 0% /run/user/0
root@inter:~# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 114471 402 114069 1% /dev
tmpfs 117721 699 117022 1% /run
/dev/vda1 1935360 496123 1439237 26% /
tmpfs 117721 1 117720 1% /dev/shm
tmpfs 117721 4 117717 1% /run/lock
tmpfs 117721 18 117703 1% /sys/fs/cgroup
/dev/vda15 0 0 0 - /boot/efi
tmpfs 117721 10 117711 1% /run/user/0


Re: Unable to connect. Firefox can’t establish a connection to the server
SOLUTION
Code: Select all
mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/certificate.crt.old
mv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/certificate.key.old
ln -s /home/admin/conf/web/ssl.mysite.com.key /usr/local/vesta/ssl/certificate.key
sudo cat /home/admin/conf/web/ssl.mysite.com.{crt,ca} > /usr/local/vesta/ssl/certificate.crt
service vesta restart
-
- Posts: 3
- Joined: Thu Nov 21, 2019 7:57 pm
- Os: CentOS 6x
- Web: apache
Re: Unable to connect. Firefox can’t establish a connection to the server
Thanks a lot, MgicDGpnz!