Open
Description
output example is outdated since the SAN and certificate policies printing have changed and should be updated to something like:
Starting mbed-os-example-tls/tls-client
Using Mbed OS 5.13.0
Successfully connected to os.mbed.com at port 443
Starting the TLS handshake...
Successfully completed the TLS handshake
Server certificate:
cert. version : 3
serial number : 0F:70:19:FD:F1:73:D0:E6:DF:CF:C9:31:AD:90:2A:26
issuer name : C=US, O=Amazon, OU=Server CA 1B, CN=Amazon
subject name : CN=*.mbed.com
issued on : 2019-05-09 00:00:00
expires on : 2020-06-09 12:00:00
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
subject alt name :
dNSName : *.mbed.com
dNSName : *.core.mbed.com
dNSName : *.internal.mbed.com
dNSName : *.pelion.com
dNSName : *.mbed.org
dNSName : mbed.com
dNSName : core.mbed.com
dNSName : internal.mbed.com
dNSName : pelion.com
dNSName : mbed.org
key usage : Digital Signature, Key Encipherment
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
certificate policies : ???, ???
Certificate verification passed
Established TLS connection to os.mbed.com
HTTP: Received 320 chars from server
HTTP: Received '200 OK' status ... OK
HTTP: Received message:
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=36000
Content-Type: text/plain
Date: Mon, 10 Jun 2019 08:40:17 GMT
ETag: "5bf0036d-e"
Expires: Mon, 10 Jun 2019 18:40:17 GMT
Last-Modified: Sat, 17 Nov 2018 12:02:53 GMT
Server: nginx/1.15.6
Content-Length: 14
Connection: keep-alive
Hello world!
DONE