Page 1 of 1

Problem CRT

Posted: Sat Sep 17, 2016 12:33 pm
by giancarlo
Hi. If i restart VESTA i have this error.

Stopping vesta-nginx: [FAILED]
Stopping vesta-php: [FAILED]
Starting vesta-nginx: nginx: [emerg] BIO_new_file("/usr/local/vesta/ssl/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/vesta/ssl/certificate.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
[FAILED]

How i can fix it? I have delete crt for install letsencrypt and i have wrong it.

Can you help me?

Thank you.

Re: Problem CRT

Posted: Sat Sep 17, 2016 3:37 pm
by giancarlo
If any person need this you can do it.

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /usr/local/vesta/ssl/certificate.key -out /usr/local/vesta/ssl/certificate.crt

and after

service vesta restart

It's all

Re: Problem CRT

Posted: Tue Apr 03, 2018 1:09 am
by vesta_mtl
Very helpful, thank you.

Re: Problem CRT

Posted: Wed Aug 01, 2018 9:02 pm
by 32bitbradley
giancarlo wrote:
Sat Sep 17, 2016 3:37 pm
If any person need this you can do it.

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /usr/local/vesta/ssl/certificate.key -out /usr/local/vesta/ssl/certificate.crt

and after

service vesta restart

It's all
Brilliant Thanks!