Add support for parsing the SSL certificate from file, modify the printing functions to handle both cases