Ugh. Let's Encrypt will issue you a single certificate for multiple domains on the same server. It's easy to set up, too. It's not just for multiple subdomains like sub1.example.com and sub2.exmaple.com. You can have any unrelated domains you want on the cert. You don't need multiple IPs and you don't even need SNI with its legacy client compatibility problems (now mostly well past). Just get a certificate that cover…
Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
31–40 of 76 posts
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#32Ugh. Let's Encrypt will issue you a single certificate for multiple domains on the same server. It's easy to set up, too. It's not just for multiple subdomains like sub1.example.com and sub2.exmaple.com. You can have any unrelated domains you want on the cert. You don't need multiple IPs and you don't even need SNI with its legacy client compatibility problems (now mostly well past). Just get a certificate that cover…
I used to be a huge fan of nginx and I haven't touched it in a year now. I don't miss it, Caddy is fantastic and handles the Let's Encrypt stuff for me.
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#33This article advocates for IP Per Domain over SNI. It's 2017, please use SNI. There's not enough IPv4 addresses in the world. Every single major browser supports it, and has supported it for some time: http://caniuse.com/#search=sni
Unfortunately for our ecommerce site this just isn't the at all an option. 3 months ago we analysed our traffic and found that 12% of our desktop traffic didn't support it (Win XP) and about 8% of our mobile traffic didn't support it (Android older than 4.0). I'm not losing 10% of my revenue just so I don't need to get a couple extra IPs from AWS. And even better, AWS doesn't actually charge me for the IPs. Once IPs…
The security of TLS has come a long long way since XP and so has research into breaking XP-era ciphers.
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#34 security.acme.certs = {
"example.com".email = "youremail@address.com";
};
services.nginx = {
enable = true;
virtualHosts."example.com" = {
enableSSL = true;
enableACME = true;
};
};
This fetches the certificates and set up a service and a timer to periodically renew them.Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#35Ugh. Let's Encrypt will issue you a single certificate for multiple domains on the same server. It's easy to set up, too. It's not just for multiple subdomains like sub1.example.com and sub2.exmaple.com. You can have any unrelated domains you want on the cert. You don't need multiple IPs and you don't even need SNI with its legacy client compatibility problems (now mostly well past). Just get a certificate that cover…
Any recommendations/war stories/further reading would be greatly appreciated.
Related forum post:
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#36On a side note: in NixOS ACME has been integrated into the nginx configuration. To set up a server with TLS you just do security.acme.certs = { "example.com".email = "youremail@address.com"; }; services.nginx = { enable = true; virtualHosts."example.com" = { enableSSL = true; enableACME = true; }; }; This fetches the certificates and set up a service and a timer to periodically renew them.
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#37I've never had a single problem with hosting multiple https domains using Nginx and Let's Encrypt. This article is somewhat baffling, considering his example of clients that need this is "mobile browsers" but I've used iOS and Android and it works just fine.
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#38Earlier quoted context omitted.
Unfortunately for our ecommerce site this just isn't the at all an option. 3 months ago we analysed our traffic and found that 12% of our desktop traffic didn't support it (Win XP) and about 8% of our mobile traffic didn't support it (Android older than 4.0). I'm not losing 10% of my revenue just so I don't need to get a couple extra IPs from AWS. And even better, AWS doesn't actually charge me for the IPs. Once IPs…
If you're having to support devices that old then I'd be more worried about how you're going to take payment details on your e-commerce website over a "secure" connection that would fail most PCI DSS vulnerability scans. The security of TLS has come a long long way since XP and so has research into breaking XP-era ciphers.
https://social.technet.microsoft.com/wiki/contents/articles/...
(Let's have a party!)
Figuring out how people are going to get upgraded when problems of some sort are discovered (including software vulnerabilities, not just cryptographic protocol issues) is a major security challenge of our day, maybe the biggest information security problem overall in the world.
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#39Ugh. Let's Encrypt will issue you a single certificate for multiple domains on the same server. It's easy to set up, too. It's not just for multiple subdomains like sub1.example.com and sub2.exmaple.com. You can have any unrelated domains you want on the cert. You don't need multiple IPs and you don't even need SNI with its legacy client compatibility problems (now mostly well past). Just get a certificate that cover…
Even with AWSs load balancers? We are trying to solve this issue right now in house. Any recommendations/war stories/further reading would be greatly appreciated. Related forum post: https://forums.aws.amazon.com/message.jspa?messageID=520926
Re: Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
#40On a side note: in NixOS ACME has been integrated into the nginx configuration. To set up a server with TLS you just do security.acme.certs = { "example.com".email = "youremail@address.com"; }; services.nginx = { enable = true; virtualHosts."example.com" = { enableSSL = true; enableACME = true; }; }; This fetches the certificates and set up a service and a timer to periodically renew them.
Wow, is their nginx support portable to other OSes? Do you know who has implemented it?
You can find the implementation of the nginx service here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/s...