2828 * [ Reselect probes] ( #reselect-probes )
2929 * [ Reselect probes from measurements in the current session] ( #reselect-probes-from-measurements-in-the-current-session )
3030 * [ Run continuous non-stop measurements] ( #run-continuous-non-stop-measurements )
31+ * [ Get TLS/SSL data] ( #get-tlsssl-data )
3132 * [ View your measurement history] ( #view-your-measurement-history )
3233 * [ Learn about available flags] ( #learn-about-available-flags )
3334<!-- TOC -->
@@ -363,7 +364,7 @@ Madrid, ES, EU, EDGOO NETWORKS LLC (AS47787) | 22 | 0.00% | 0.24
363364
364365# ### Get TLS/SSL data
365366
366- Use the ` --full` option when running a ` http` command to include the certificate details in the output.
367+ Use the ` --full` option when running an ` http` command to include the certificate details in the output.
367368
368369` ` ` bash
369370globalping http jsdelivr.com --full
@@ -380,46 +381,9 @@ HTTP/1.1 301
380381...
381382` ` `
382383
383- Filter the output to only show the TLS/SSL data:
384-
385- ` ` ` bash
386- globalping http jsdelivr.com --full |& sed '1d;/^$/q'
387- TLSv1.3/TLS_AES_256_GCM_SHA384
388- Subject: jsdelivr.com; DNS:jsdelivr.com, DNS:*.jsdelivr.com
389- Issuer: WE1; Google Trust Services; US
390- Validity: 2025-02-02T21:13:14Z; 2025-05-03T22:10:40Z
391- Serial number: 57:E1:7F:F0:C7:25:0A:A5:0D:3B:73:06:FD:C0:72:D4
392- Fingerprint: 73:A9:13:48:38:E7:42:E6:97:72:5A:87:D8:95:20:BE:3A:32:5F:27:78:40:CA:9C:BE:EC:F8:7F:75:11:43:79
393- Key type: EC256
394-
395- ` ` `
396-
397- Or get the certificate details in JSON format:
398-
399- ` ` ` bash
400- globalping http jsdelivr.com --json | jq '.results[].result.tls'
401- {
402- "authorized": true,
403- "protocol": "TLSv1.3",
404- "cipherName": "TLS_AES_256_GCM_SHA384",
405- "createdAt": "2025-02-02T21:13:14.000Z",
406- "expiresAt": "2025-05-03T22:10:40.000Z",
407- "issuer": {
408- "C": "US",
409- "O": "Google Trust Services",
410- "CN": "WE1"
411- },
412- "subject": {
413- "CN": "jsdelivr.com",
414- "alt": "DNS:jsdelivr.com, DNS:*.jsdelivr.com"
415- },
416- "keyType": "EC",
417- "keyBits": 256,
418- "serialNumber": "57:E1:7F:F0:C7:25:0A:A5:0D:3B:73:06:FD:C0:72:D4",
419- "fingerprint256": "73:A9:13:48:38:E7:42:E6:97:72:5A:87:D8:95:20:BE:3A:32:5F:27:78:40:CA:9C:BE:EC:F8:7F:75:11:43:79",
420- "publicKey": "04:33:CC:D1:99:7D:3F:2B:04:6C:AB:1E:22:44:C9:F1:A7:6D:A5:91:4A:92:CE:3C:83:88:65:AD:D8:42:32:56:58:75:EC:2C:EA:1C:E6:68:86:DF:A8:84:F8:6B:F9:4D:BF:4C:E2:54:3F:40:7F:04:92:DC:A5:44:06:2F:2D:E3:47"
421- }
422- ` ` `
384+ > [! TIP]
385+ > Use ` globalping http jsdelivr.com --full --method head` to omit the response body,
386+ or ` globalping http jsdelivr.com --full |& sed '1d;/^$/q'` to only show the TLS/SSL data.
423387
424388# ### View your measurement history
425389
0 commit comments