schweidj
(Joachim Schweidler)
February 27, 2017, 4:07pm
1
NethServer Version: 7.3.1611
Module: virtualhost
Hi,
I setup two virtualhosts and two appropriate letsencrypt-certificates. Whithin the virtualhost-module I cannot select the letsencrypt certificates, just the NSRV.crt and the standard certificates.
Any ideas?
Regards,
Joachim
giacomo
(Giacomo Sanchietti)
February 27, 2017, 5:11pm
2
Just use Let’s Encrypt as your default certificate and you’re done
schweidj
(Joachim Schweidler)
February 27, 2017, 10:20pm
3
Hi @giacomo ,
that works, if you have just one domain for letsencrypt but I have two
single certificates…
Is there a "signal-event …“ command to assign the different certs to the
vhosts?
After every change in the virtual host-module I have to manually change
the virtualhost.conf - file…
giacomo
(Giacomo Sanchietti)
March 1, 2017, 2:32pm
4
If you use the web interface, the system will generate a single certificates with many names.
Take a look at this:
NethServer Version: Nethserver 7
Module: virtual host
Hi,
how can manage many virtual hosts each one with different Let’s Encrypt certificate?
In Let’s Encrypt module I can request the certificate for each domain but in virtual host configuration I can’t choose them. I can only choose “Default certificate” or other certificates I uploaded.
Is it possible?
Thanks in advance
Paolo
No sorry, in this case you need to configure it by hand.
I think that obtaining multiple LE certificates could be a reasonable enhancement, in some scenarios.
What do you think?
schweidj
(Joachim Schweidler)
March 2, 2017, 2:37pm
7
Thank you. Would it be possible to also add a renew option for the LE certificates?
giacomo
(Giacomo Sanchietti)
March 2, 2017, 3:03pm
8
The renew is automatic, but you can do it, just execute this command for more options:
/usr/libexec/nethserver/letsencrypt-certs
ChriS
(Christian Sill)
January 7, 2018, 4:09pm
9
+1 for the option of using different LE-certificates obtained in NS with different virtualhosts (each for another domain).
Is there in the meantime any trick to achieve this, where the workaround with the default cert does not work?
giacomo
(Giacomo Sanchietti)
January 8, 2018, 1:39pm
10
Sadly no, you need to it by hand.
But you shouldn’t need to do that: add as many domains you want to the default certificate