simple main method to print out cert details