Added --get-certificate option