Howto get one certificate for all my virtual hosts?

letsencrypt
v7

(Nico Berg) #1

NethServer Version: 7.4
Module: Let Encrypt

The title of the topic say it all. How can I get a certificate for www.aaaaaaaa.nl and www.bbbbbbb.nl and mail.aaaaaaaa.nl and ftp.bbbbbbbb.nl… etc.

I want to set this as default.

thanks in advance, Pit


(Saito Benkei) #2

In dashboard go to:

“Server Certificate” -> In dropdown “Upload certificate” select “Request Let’s Encrypt certificate” -> in “Domains” write down your domains (one for line) -> click on “Request Let’s Encrypt certificate”

If it’s all ok you will return to “Server Certificate” -> click on dropdown “Show” near “Let’s Encrypt Authority X3” and select “Set as default”

Remember that ports 80 and 443 must be accessible from Internet.


(Nico Berg) #3

thx a lot.

Pit


(fpausp) #4

Got this Error (changed to mydomain):
Domains
Failed authorization procedure. smtp.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for smtp.mydomain.at, pve01.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for pve01.mydomain.at, pvestor01.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for pvestor01.mydomain.at, imap.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for imap.mydomain.at, ipf.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for ipf.mydomain.at, fog01.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for fog01.mydomain.at, infra01.mydomain.at (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for infra01.mydomain.at


(Eddie Atherton) #5

Is “mydomain.at” resolvable via a public DNS and are ports 80 and 443 open at the server the domain resolves to.

Cheers.


(fpausp) #6

OK, that can’t work… mydomain.at is pointing to my providers server, just for my homepage. I use mydomain.at even for my vm’s.

I have a dynamic IP at home were my vm’s are hosted. I use dyndns with no-ip for my vpn. I think I can’t use mx records then ?


(Saito Benkei) #7

In your mydomain.at DNS panel create, for every host that you want to point to your server, a CNAME that points to your no-ip hostname. Then create the MX records you need that point to your CNAME records.

In nethserver Insert these hosts in “DNS” - > tab “server alias”


(fpausp) #8

OK, thank you for this information. I think I found another possibility. I have been able to configure mx-records on the no-ip portal, let me try that first…