Skip to content

Visual Studio SSL not working #1451

Answered by ghost
DeuSCaNoN asked this question in Q&A
May 10, 2022 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

You need to build uSockets with SSL support, otherwise it will just default to regular TCP (that's a core feature - same business logic without any changes run on both TCP and TLS).

https://github.com/microsoft/vcpkg/blob/master/ports/usockets/CMakeLists.txt#L25

Looks like vcpkg has CMAKE_USE_OPENSSL you need to set during install.

If you compile uSockets yourself, without vcpkg, it is LIBUS_USE_OPENSSL

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
7 replies
@DeuSCaNoN
Comment options

@Jacob-Burckhardt
Comment options

@DeuSCaNoN
Comment options

@Jacob-Burckhardt
Comment options

@DeuSCaNoN
Comment options

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@DeuSCaNoN
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants