User Manual
Parameters: None
Returns: A 32-bit unsigned integer representing the number of seconds since the 'Epoch', or 1 January 1970.
TLS Root Certificate Management
Connecting to secure TLS/SSL based servers requires a root certificate to verify that the certificate data from the
remote server is valid. A set of common root certificates is included in the Featherlib by default, but custom certificates
can also be added to the chain via the .addRootCA helper function, described below.
See the AdafruitTCP documention for more information on TLS and connecting to secure servers.
Default Root Certificates
By default, the following root certificates are included in Featherlib, meaning you only need to add a root certificate
authority if it isn't included in the list below.
These default root certificates cover many common websites without any additional effort on your part:
Baltimore CyberTrust Root
adafruit-download.s3.amazonaws.com (may include other Amazon S3 servers)
DigiCert High Assurance EV Root CA
twitter.com
facebook.com
github.com
GeoTrust Global CA
google.com
GeoTrust Primary Certification Authority - G3
adafruit.com
Starfield Services Root Certificate Authority - G2
aws.amazon.com
bool useDefaultRootCA ( bool enabled )
Enables the default list of root CAs in FeatherLib.
Note: These will be enabled automatically by default if you try to use the .connectSSL functions without having
previously added any custom root CAs via .addRootCA. This function is provided primarily to
disable
the default root
certificates since they consume a reasonable chunk of heap memory.
Parameters:
enabled: Set this to 'true' (1) to enable the default root CA list, or 'false' (0) to disable them.
Returns: 'True' (1) if the operation succeeded, otherwise 'false' (0).
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 67 of 202










