Do not crash when SSL certificate download fails (bnc#891896)

- 3.1.102
Either report the error via values (`import_certificate` returns false, its caller checks that), or use a new exception type for this purpose to make sure you don't hide other exceptions.