glewlwyd icon indicating copy to clipboard operation
glewlwyd copied to clipboard

[Windows] Enabling SSL feature

Open sfhacker opened this issue 3 years ago • 6 comments

Fresh install, latest version.

Whenever enable ssl on the server, I see the following same error message on the console. Tried to debug it to no avail.

TLS/SSL configuration values

use_secure_connection=true secure_connection_key_file="D:/SSO_Server/etc/certs/server.key" secure_connection_pem_file="D:/SSO_Server/etc/certs/server.crt" secure_connection_ca_file="D:/SSO_Server/etc/certs/root1.crt"

image

Thanks.

sfhacker avatar Feb 11 '22 22:02 sfhacker

Hi,

It seems you didn't change the external_url value and you're accessing glewlwyd via an http connection, not an https. You should change your external_url value to "https://localhost:4593" in the config file and access this url instead of the http one.

babelouest avatar Feb 11 '22 22:02 babelouest

Thanks for your pronto response. Just updated 'external_url="https://localhost:4593"' key in the config file and re ran the server but still same message.

I use Brave browser and typed: https://localhost:4593 into the browser address bar.

image

sfhacker avatar Feb 11 '22 22:02 sfhacker

I don't know brave browser, can you try with another browser? The error you see in the console are when you try to access HTTPS URL in HTTP.

babelouest avatar Feb 11 '22 22:02 babelouest

Google Chrome:

image

sfhacker avatar Feb 11 '22 22:02 sfhacker

Can you try again but without the secure_connection_ca_file? It's not required for a simple HTTPS connection, only if you need to use a TLS certificate authentication. But even though, let's try your configuration without this setting by commenting it out please: #secure_connection_ca_file=...

babelouest avatar Feb 11 '22 23:02 babelouest

Hello @sfhacker ,

any update on this issue?

babelouest avatar Feb 22 '22 21:02 babelouest