ErikMinekus / sm-ripext

SourceMod REST in Pawn Extension
https://forums.alliedmods.net/showthread.php?t=298024
GNU General Public License v3.0
136 stars 38 forks source link

TLS 1.3? #69

Closed CrazyHackGUT closed 2 years ago

CrazyHackGUT commented 2 years ago

Requests to web-resources that forces TLS 1.3 can be failed with error:

  -> SourcePawn_MakeRequest(): base url https://…/api.php, method config
* Hostname … was found in DNS cache
*   Trying 172.67.148.20:443...
* Connected to … (172.67.148.20) port 443 (#1)
* mbedTLS: Connecting to …:443
* mbedTLS: Set min SSL version to TLS 1.0
* ALPN, offering h2
* ALPN, offering http/1.1
* ssl_handshake returned - mbedTLS: (-0x7780) SSL - A fatal alert message was received from our peer
* Closing connection 1

TLS 1.2 works normally.

ErikMinekus commented 2 years ago

Duplicate of #46