throw exception correctly for empty cert

Merge request reports

Loading