Display friendlier error messages when ssl certs are invalid

[Finishes #66365530]