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.
filename |
name of the file to test |
true if the file is a certificate, false if it is not |