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

https client connection problem

Hi , 

I am using nrf connect 1.2.0 dk. I am now testing the https client example. 

However, I always get the connection fail error as belows. 

Provisioning certificate


Waiting for network.. OK


Connecting to google.com


connect() failed, err: 45

"To connect to other servers, you might need to provision a different certificate. You can download a certificate for a given server using your web browser. Alternatively, you can obtain it from a dedicated website like SSL Labs."

According to the instruction, I download a certificate from the https://www.ssllabs.com/ssltest/

I submitted a query of "google.com" in that website and download a pem. 

I also add back those double quotation and newline character to the pem. However, the results are same. 

Besides, I also change the NBIOT without epco setting in the configuration which is workable in other example .

My questions is:

How can I get a correct certificate?

How can I download directly via web browser?

Thank you.

Regards, 

Chapman

Parents Reply Children
No Data
Related