Problem CRT
Problem CRT
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.
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
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
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
-
- Posts: 1
- Joined: Wed Aug 01, 2018 9:01 pm
- Os: CentOS 6x
- Web: apache + nginx