Mutual TLS in Tyk open source

curl -k --cert cert.pem --key key.pem https://localhost:8080/m-tls/mock_details

Is it what you meant?

On trying it I was getting :

error:1408F10B:SSL routines:ssl3_get_record:wrong version number

curl in verbose mode includes this:

* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Or did you meant the servers(mock api in my case) behind Tyk have to be https like “https://localhost:7070