2021-01-18 06:00 AM
Hi, Before posting this question, I did enough testing and understand the concept of certificate verification process. I am stuck with this issue since last one week and couldn't understand the associated route cause.
Please help me resolve this issue. Requesting some ST core engineer to look into it.
Solved! Go to Solution.
2021-01-21 12:02 AM
As per official documentation, sample application requires concatenation of 2 CA certificates. However, only one file location is mentioned which is “Set the TLS root CA certificates: Copy-paste the content of Middlewares\Third_Party\GCP\samples\STM32Cube\globalsign_usertrust.pem. The device uses it to authenticate the remote hosts through TLS.�?
I found checking the information and expiration date of these certificates is helpful. It is important to know details of certificates in case globalsign_usertrust need to be changed -
$ openssl crl2pkcs7 -nocrl -certfile roots.pem | openssl pkcs7 -print_certs -noout
subject=C = US, O = Google Trust Services LLC, CN = GTS LTSR
issuer=C = US, O = Google Trust Services LLC, CN = GTS LTSR
subject=OU = GlobalSign ECC Root CA — R4, O = GlobalSign, CN = GlobalSign
issuer=OU = GlobalSign ECC Root CA — R4, O = GlobalSign, CN = GlobalSign
I copy-pasted the certifcates one after other and it worked.
2021-01-21 12:02 AM
As per official documentation, sample application requires concatenation of 2 CA certificates. However, only one file location is mentioned which is “Set the TLS root CA certificates: Copy-paste the content of Middlewares\Third_Party\GCP\samples\STM32Cube\globalsign_usertrust.pem. The device uses it to authenticate the remote hosts through TLS.�?
I found checking the information and expiration date of these certificates is helpful. It is important to know details of certificates in case globalsign_usertrust need to be changed -
$ openssl crl2pkcs7 -nocrl -certfile roots.pem | openssl pkcs7 -print_certs -noout
subject=C = US, O = Google Trust Services LLC, CN = GTS LTSR
issuer=C = US, O = Google Trust Services LLC, CN = GTS LTSR
subject=OU = GlobalSign ECC Root CA — R4, O = GlobalSign, CN = GlobalSign
issuer=OU = GlobalSign ECC Root CA — R4, O = GlobalSign, CN = GlobalSign
I copy-pasted the certifcates one after other and it worked.