We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
Script is updated in order to make it compatible with upcoming v17 version of VestaCP.
If you are using it, please download latest copy:
If you are using it, please download latest copy:
Code: Select all
wget http://dl.mycity.tech/vesta/generate_ssl -O /usr/local/bin/generate_ssl
chmod u+x /usr/local/bin/generate_ssl
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
I was using this script before the last vestacp update without any problem,
Today I tried it on a clean install (I tried twice) of centos 6 32 and I it works with hostname only.
I get:
Error: No SSL found
Everything went fine....etc
I have certs in /etc/letsencrypt/... but they are not installed
Today I tried it on a clean install (I tried twice) of centos 6 32 and I it works with hostname only.
I get:
Error: No SSL found
Everything went fine....etc
I have certs in /etc/letsencrypt/... but they are not installed
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
this script is needed in v17 also? No way to make Vesta using Lets Encrypt for all services by default?
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
I tried once again in a clean install on cento6 6 64, same as above,
I get:
Error: SSL=no doesn't exist
Reloading httpd:
Everything went fine. Your certificate is ready: https://xxxxxxx.xxx
I can find certs as usual in the folder /etc/letsencrypt/... but it's not installed, once again in the hostname it works as aspected.
I get:
Error: SSL=no doesn't exist
Reloading httpd:
Everything went fine. Your certificate is ready: https://xxxxxxx.xxx
I can find certs as usual in the folder /etc/letsencrypt/... but it's not installed, once again in the hostname it works as aspected.
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
if you want, send me SSH credentials via private message, I will take a look.
You didn't provide output from SSH.
You didn't provide output from SSH.
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
Before 10 days I released update for this script, I wrote a post about it.
Did you download updated version?
Did you download updated version?
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
I will check it... I saw one command that Serghey built before one month.apachler wrote:this script is needed in v17 also? No way to make Vesta using Lets Encrypt for all services by default?
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
There was an error in script, and now it's fixed.
Thank you Harry77 for reporting a bug.
If you are using this script, please download latest copy:
Thank you Harry77 for reporting a bug.
If you are using this script, please download latest copy:
Code: Select all
wget http://dl.mycity.tech/vesta/generate_ssl -O /usr/local/bin/generate_ssl
chmod u+x /usr/local/bin/generate_ssl
-
- Posts: 25
- Joined: Fri Nov 18, 2016 3:36 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it
Hi,
Thank you so much for your script. I don't check it until now. I have problem here with the details below:
I'm followed your old reply: viewtopic.php?f=19&t=12617#p50574.
Maybe you can help me know what do to do now? I think the problem by I had using the let's encrypt gui in vestacp admin before run your script. Maybe it's the problem here.
Thank you so much for your script. I don't check it until now. I have problem here with the details below:
Code: Select all
Failed authorization procedure. domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: The key authorization file from the server did not match this challenge [z6rqH3NyOYBaRed8wlAx1i3T1nhI-m3xX8U-XHvkR_U.kjZFnssi88QbqQmqT5aoFZIHmGNQJRjma7_iA-xxx] != [z6rqH3NyOYBaRed8wlAx1i3T1nhI-m3xX8U-XHvkR_U.HroLKHp_NxjfUjx-2lFC61bb9nJ_wnjgluBRAxxx]
Maybe you can help me know what do to do now? I think the problem by I had using the let's encrypt gui in vestacp admin before run your script. Maybe it's the problem here.