Add back cert check after cli run.