[PORTAL] Simplify cert retrieval script