Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

[Solved] After replacing SSL for VestaCP Panel won't start

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
saumil
Posts: 6
Joined: Sat Apr 11, 2015 3:00 pm

[Solved] After replacing SSL for VestaCP Panel won't start

Post by saumil » Mon Feb 01, 2016 5:03 pm

Hello,
after following this
skid wrote:You mean control panel ssl certificate? If yes then checkout /usr/local/vesta/ssl/ directory. Replace files accordingly and restart vesta

Code: Select all

service vesta restart
Vesta is running on separate nginx web. As per nginx documentation CA bundle can be added as tail into certificate.

Code: Select all

cat www.example.com.crt bundle.crt > www.example.com.chained.crt
I have replaced certificate.key and certificate.crt from /usr/local/vesta/ssl/
Now Panel won't start

when I run

Code: Select all

service vesta restart
I get this error
Job for vesta.service failed. See 'systemctl status vesta.service' and 'journalctl -xn' for details.
So I did

Code: Select all

systemctl status vesta.service -l

● vesta.service - LSB: starts the vesta control panel
   Loaded: loaded (/etc/init.d/vesta)
   Active: failed (Result: exit-code) since Mon 2016-02-01 17:01:33 UTC; 37s ago
  Process: 2273 ExecStart=/etc/init.d/vesta start (code=exited, status=1/FAILURE)

Feb 01 17:01:33 host.com systemd[1]: Starting LSB: starts the vesta control panel...
Feb 01 17:01:33 host.com vesta[2273]: Starting vesta-nginx: vesta-nginxEnter PEM pass phrase:
Feb 01 17:01:33 host.com vesta[2273]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/usr/local/vesta/ssl/certificate.key") failed (SSL: error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)
Feb 01 17:01:33 host.com systemd[1]: vesta.service: control process exited, code=exited status=1
Feb 01 17:01:33 host.com systemd[1]: Failed to start LSB: starts the vesta control panel.
Feb 01 17:01:33 host.com systemd[1]: Unit vesta.service entered failed state.
And the problem is I don't have orignal key and crt file.
Top

saumil
Posts: 6
Joined: Sat Apr 11, 2015 3:00 pm

Re: [Solved] After replacing SSL for VestaCP Panel won't start

Post by saumil » Mon Feb 01, 2016 5:26 pm

Solved this by replacing with decrypted key.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: [Solved] After replacing SSL for VestaCP Panel won't start

Post by skurudo » Mon Feb 01, 2016 7:20 pm

saumil wrote:Solved this by replacing with decrypted key.
Nice!
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password