Tests if filename has a valid extension for an X.509 certificate file
(".cer", ".crt", ".der", or ".pem"), and contains a certificate in a format
recognized by NetworkManager.
Parameters
filename: string
name of the file to test
Returns boolean
true if the file is a certificate, false if it is not
Tests if
filenamehas a valid extension for an X.509 certificate file (".cer", ".crt", ".der", or ".pem"), and contains a certificate in a format recognized by NetworkManager.