This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

1NCE Onboarding SIM Card

Hi,

I try to do the Onboarding workflow for 1NCE SIM Cards with the NRF91 Module: 1nce.com/.../

So the solution is to send a GET Request to a special endpoint and you get all your certificates. At the moment I´m confused. In the documentation it says you need to access the endpoint via HTTPS. If I do so, the server answers:


GOT HTTP/1.1 400 Bad Request
Server: awselb/2.0
Date: Thu, 14 Jan 2021 20:48:00 GMT
Content-Type: text/html
Content-Length: 220
Connection: close
<html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
</body>
</html>

So what could be the solution? There is nothing about any certificate in the documentation. My Code is a modified one from the "https_client" sample.

https://pastebin.com/yuTTaD4k

Thanks for your help end best regards.

Parents Reply Children
Related