#1 2020-06-08 11:39:35

tomek
Member
Registered: 2017-10-24
Posts: 46

SSL on Linux

Hi
I've mormot server on Linux with SSL enabled, but test request in Web browser fails with "Secure connection failed". Same server on Win works OK. Self-signed certificate generated with openssl.
Are there any other conditions that must be fulfilled to make it work?

Regards, Tomek

Offline

#2 2020-06-08 12:45:34

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: SSL on Linux

On WIndows, our http.sys web server handled TLS/HTTPS.
But there is no direct TLS/HTTPS support yet on Linux, i.e. in the sockets server.

We always use a reverse proxy (nginx in practice) with its Let's Encrypt scripts.
Security, performance and stability is then very high.

Offline

#3 2020-06-08 15:30:10

igors233
Member
Registered: 2012-09-10
Posts: 234

Re: SSL on Linux

> We always use a reverse proxy (nginx in practice) with its Let's Encrypt scripts.
> Security, performance and stability is then very high.

Do you use nginx on Windows also? Last time I looked nginx Windows wasn't equal to Linux version (lot of features) missing.

Offline

#4 2020-06-08 15:34:58

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: SSL on Linux

We never put nginx on Windows.
Instead, we usually put a nginx server as a Linux dedicated machine/VM, to isolate the Windows server from the Internet (which is mandatory IMHO for security reasons).
Then the https certificate is never on Windows.

Offline

Board footer

Powered by FluxBB