sslat-commandsim800

What are the supported cipher suites in sim800c?


I'm trying to communicate with a server that uses SSL/TLS but has some limited cipher suites.
How can I get a list of supported cipher suites in my sim800c to see if it can communicate with the server?


Solution

  • I created the test environment that @roberto-caboni suggested. I tested with both SIM800L and SIM800C. Cipher suites are the same.

    The results are:

    /* SIM800L firmware revision */
    AT+CGMR
    
    Revision:1418B05SIM800L24
    
    OK
    
    /* SIM800C firmware revision */
    AT+CGMR
    
    Revision:1418B08SIM800C24_BT
    
    OK
    
    /* I wiresharked a SLL connection to my server, the results:
    Cipher Suites (9 suites)
        Cipher Suite: TLS_RSA_WITH_RC4_128_MD5 (0x0004)
        Cipher Suite: TLS_RSA_WITH_RC4_128_SHA (0x0005)
        Cipher Suite: TLS_RSA_WITH_AES_128_CBC_SHA (0x002f)
        Cipher Suite: TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA (0x0016)
        Cipher Suite: TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA (0x0013)
        Cipher Suite: TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x000a)
        Cipher Suite: TLS_RSA_WITH_DES_CBC_SHA (0x0009)
        Cipher Suite: TLS_RSA_EXPORT_WITH_RC4_40_MD5 (0x0003)
        Cipher Suite: TLS_DHE_DSS_WITH_DES_CBC_SHA (0x0012)
    */