Endpoint certificate extraction utility.