This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

When nrf9160 is https_client, can I connect to the server without validating the server certificate?

Hi all,

In the nRF9160 https_Client sample, I was able to connect to the server by provisioning a server-matched root certificate to the nRF9160.

Can I connect to an https server without provisioning a certificate on the NRF9160 when security is not a concern?

When not provisioning a certificate to the nRF9160, it seems to be failing. However, I think I can communicate encrypted with the https server using only the public key provided by the server.

Is my idea wrong?

Again, I'm not going to discuss security. I would like to know if there is a way to communicate with the https server despite the lack of a certificate on the client side.

For example, I think the -k option in Curl is actually doing that.

If that is possible, please tell me the procedure in nRF9160. Thank you.

HW:nRF9160DK

FW:modem v1.3.1

   SDK v1.9.1

Best Regards,

Yukio Oyama

Parents
  • Hello Yukio-san, 

    The technical support team will be out due to Easter Holiday until Tuesday April 19. We're sorry for the inconvenience. 


    Have you tried removing the functions regarding TLS and certificates? The sample is designed to connect using a x509 certificate. 

    Kind regards,
    Øyvind

Reply
  • Hello Yukio-san, 

    The technical support team will be out due to Easter Holiday until Tuesday April 19. We're sorry for the inconvenience. 


    Have you tried removing the functions regarding TLS and certificates? The sample is designed to connect using a x509 certificate. 

    Kind regards,
    Øyvind

Children
No Data
Related