AnsweredAssumed Answered

Openssl unable to get local issuer certificate

Question asked by sagar sakre on Oct 1, 2018
Latest reply on Oct 18, 2018 by Yuri Muhin

I am trying to get azure working on imx7sabre dual board. I've followed instructions mentioned in https://www.nxp.com/docs/en/user-guide/i.MX_Yocto_Project_User's_Guide_Linux.pdf to setup the BSP and get the shell on the board.

 

I've added meta-iot-cloud layer and succesfully built it. When running SimulateDevice.py (given in azure package) I get below error,

SSL routines:ssl3_get_server_certificate:certificate verify failed

 

The same code works perfectly on my ubuntu 16.04 machine. Upon searching I found that it is related to openssl certificate error. When I do openssl s_client -showcerts -connect google.com:443 I get the below error 

 

unable to get local issuer certificate

 

Again the same command "openssl s_client -showcerts -connect google.com:443" Works well on the ubuntu machine.

 

A lot of people reported similar issue but there's no concrete solution. Can anybody guide me how to fix this issue?

 

I've attached the full error log here

 

Attachments

Outcomes