Other Parts Discussed in Thread: SHA-256, ,
Hi,
My customer is using CC3200MOD and wants to connect it to https server.
Security specification at server side:
- Protocol : TLS1.0
- Certification parameter : Key RSA 2048bits, Hash algorithm SHA-256
- DV certification is used
- See attached sec.png which is taken by PC browser when the browser is connected to the server.
Client:
- CC3200 sample code is used.
C:\ti\CC3200SDK_1.3.0\cc3200-sdk\docs\examples\http_client_demo
Customer wants to know which security parameters (defined in below header file around line317) should be used to connect this server.
C:\ti\CC3200SDK_1.3.0\cc3200-sdk\simplelink\include\socket.h
Below is an example code shown in Wiki page.
http://processors.wiki.ti.com/index.php/CC3200_HTTP_Client_Demo
/* Security parameters */
sparams.method.secureMethod = SL_SO_SEC_METHOD_TLSV1_2;
sparams.mask.secureMask = SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA;
strncpy(sparams.cafile, SL_SSL_CA_CERT, sizeof(SL_SSL_CA_CERT));
sparams.privkey[0] = 0;
sparams.cert[0] = 0;
sparams.dhkey[0] = 0;
HTTPCli_setSecureParams(&sparams);
Thanks and regards,
KoT