get_scan_results: Retrieve a certificate

Description Usage Arguments Value References Examples

Description

Retrieve a certificate

Usage

1
get_scan_results(id, sha256, host = get_obs_host(), timeout = 60)

Arguments

id

the ID of the certificate to start the path at

host

if you host your own instance of the TLS Observatory, either specify the hostname here (not advised) or set the envrionment variable TLS_OBSERVATORY_HOST to the hostname (preferred). If no environment variable is set the default ("tls-observatory.services.mozilla.com") will be used.

timeout

defaults to 60, but most calls to this API enpoint come back quickly. Adjust as necessary (ie. when the server is under load this might need to be increased).

Value

a list containing the scan results and the ID of the end-entity certificate.

References

https://github.com/mozilla/tls-observatory#get-apiv1results

Examples

1
str(get_scan_results("12302333"))

hrbrmstr/tlsobs documentation built on May 20, 2019, 4:06 p.m.