Adding it in the API definition didn’t work.
Upon trying:
curl -k -v --cert cert.pem --key key.pem --tlsv1.3 https://localhost:8080/m-tls/mock_details
I got the same result. “ssl3_get_record:wrong version number”
On trying:
curl -k -v --cert cert.pem --key key.pem --tlsv1.3 https://localhost:8443/m-tls/mock_details
I got Connection refused.
So I added
“protocol”: “https”,
“listen_port”: 8443
in the Tyk gateway configuration also and tried:
curl -k -v --cert cert.pem --key key.pem --tlsv1.3 https://localhost:8443/m-tls/mock_details
Then also it didn’t make any difference and I got the same results as before. “ssl3_get_record:wrong version number”