Use the `message` method to get exception info

Without this, the error is "Could not request certificate: system lib",
which is not very helpful.

Sincere apologies for the lack of tests - time ran short, and this seems un-tested currently.