Display error on certification attempt with yubikey

Closes #978