Code: Select all
Anyway I think that SSL socket is not established correctly. I exported CA certificate in DER format as described here: http://processors.wiki.ti.com/index.php ... pplication
Then I tried to flash it first time as "/cert/ca.pem" and second time as "/cert/129.der" as it is suggested in that wiki page. I always got empty response from the server.CA Certificate can be downloaded using various methods. For Example, On Windows 7 machine, procedure to Download CA Certificate of http://www.google.com is:
Press Start button
Typing certmgr.msc into the Search box, and then pressing ENTER.
Double Click Trusted Root Certificate Authorities
Double Click Certificate
Look for "Equifax Secure CA"
Double Click on it. It will open the Certificate.
Select Details Tab
Click on “Copy to File” button and export the certificate as .cer Format
Is there any way how to verify ssl socket?
Sending GET request to "http://www.google.com" returns redirect which is ok. I used urequests module version 0.4 from micropython-lib.