#1 2022-04-12 03:42:02

assistant
Member
Registered: 2022-04-12
Posts: 4

How to setup the TLS version for THttpApiServer?

Hi everyone!
    I'm a beginner of mORMot. I just built a Https server with THttpApiServer and added a url like this: fServer.AddUrl('root','443',true,'+',true);
    Then I used an https client to visit this sverver, it worked.
    But when I use FireFox browser to visit this sverver ,it did not work and prompt: errcode: SSL_ERROR_UNSUPPORTED_VERSION, This website may not support TLS 1.2.
    I thought mORMot support TLS 1.2 by default.
    So my question is : How do I setup my server to support TLS 1.2?

    Thanks very much!
    Best Regards.

Offline

#2 2022-04-12 04:46:45

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 239
Website

Re: How to setup the TLS version for THttpApiServer?

What OS are you using?

TLS 1.2 support comes from the OS, for Windows this support was introduces with Windows 8.1.

Regards,
Daniel

Offline

#3 2022-04-12 06:33:38

assistant
Member
Registered: 2022-04-12
Posts: 4

Re: How to setup the TLS version for THttpApiServer?

Hi Daniel!
I'm using Windows7. As you have said, TLS 1.2 is supported by OS.
I modified some register items in regedit to enable TLS 1.2, It works.
Thanks a lot for reminding me.
Regards

Offline

Board footer

Powered by FluxBB