Forums

I am trying to generate a bearer token but getting back with ssl error

Hi following is the curl request i am making but getting back with ssl error, can anyone please help me out, I am not able to create a support ticket either

 

curl --location 'https://test-v-apigateway01.1link.net/uat-1link/link-certification/oauth2/token' \

--header 'sec-ch-ua-platform: "Windows"' \

--header 'Authorization: Basic Removed=' \

--header 'Referer: https://sandbox.1link.net.pk/' \

--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36' \

--header 'sec-ch-ua: "Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134"' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--header 'sec-ch-ua-mobile: ?0' \

--data-urlencode 'grant_type=client_credentials' \

--data-urlencode 'scope=1LinkApi'

 

 

The error that i am getting back with is 

 

Error: write EPROTO 54338304:error:10000458:SSL routines:OPENSSL_internal:TLSV1_ALERT_UNRECOGNIZED_NAME:..\..\..\..\src\third_party\boringssl\src\ssl\tls_record.cc:592:SSL alert number 112

 


 

Support

Looking for help? Check out the frequently asked questions on our support page.

Contact us

Send us a message. We'll get back to you as soon as we can.

Get Social