Also throw an Exception if you give a passphrase for an unencrypted certificate

Fixed issue #32