Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section 3rd Party Software
  • Search

Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Section with additional software for Vesta
Locked
  • Print view
Advanced search
42 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
apachler
Posts: 8
Joined: Wed Sep 21, 2016 10:57 am

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by apachler » Wed Sep 21, 2016 7:02 pm

ok, thank you ...
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by dpeca » Fri Nov 18, 2016 5:58 pm

Script is updated in order to make it compatible with upcoming v17 version of VestaCP.
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
Top

Harry77
Posts: 10
Joined: Tue Jun 28, 2016 5:51 am

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by Harry77 » Sat Nov 26, 2016 7:22 am

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
Top

apachler
Posts: 8
Joined: Wed Sep 21, 2016 10:57 am

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by apachler » Sat Nov 26, 2016 2:40 pm

this script is needed in v17 also? No way to make Vesta using Lets Encrypt for all services by default?
Top

Harry77
Posts: 10
Joined: Tue Jun 28, 2016 5:51 am

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by Harry77 » Sat Nov 26, 2016 3:16 pm

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.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by dpeca » Sat Nov 26, 2016 5:37 pm

if you want, send me SSH credentials via private message, I will take a look.
You didn't provide output from SSH.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by dpeca » Sat Nov 26, 2016 5:39 pm

Before 10 days I released update for this script, I wrote a post about it.
Did you download updated version?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by dpeca » Sat Nov 26, 2016 6:54 pm

apachler wrote:this script is needed in v17 also? No way to make Vesta using Lets Encrypt for all services by default?
I will check it... I saw one command that Serghey built before one month.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Script for generating letsencrypt SSL and configuring all daemons (Apache, nginx, dovecot, Exim, Vesta) to use it

Post by dpeca » Sun Nov 27, 2016 9:35 pm

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:

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
Top

Loc_rabbirt
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

Post by Loc_rabbirt » Wed Nov 30, 2016 8:48 pm

Hi,

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]
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.
Top


Locked
  • Print view

42 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Return to “3rd Party Software”



  • 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