Error codes

Error Code

Description

1700

Failed to initialize HAT. See error message for details.

1701

Failed to initialize the NativeCryptoki library. See error message for details.

1702

Failed to initialize HSM. See error message for details.

1703

Invalid input value entered. See error message for details.

1704

Failed to generate PKCS#10 (certificate requests). See error message for details.

1705

Failed to generate PKCS#10. May be encoding errors or formatting of data. Check that your platform supports the ISO-8859-1 character encoding scheme.

1706

Failed to initialize PKCS#11 driver. See error message for details.

1707

Failed to terminate connection to the PKCS#11 driver. See error message for details.

1708

Failed to get list of connected HSMs. See error message for details.

1709

Failed to get information about the given HSM. See error message for details.

1710

Failed to login to the HSM. See error message for details.

1711

Failed to logout from the HSM. See error message for details.

1712

Failed to generate RSA KeyPair on HSM. See error message for details.

1713

Failed to delete RSA KeyPair from HSM. See error message for details.

1714

Failed to sign using HSM. See error message for details.

1715

Failed to find PrivateKey handle in HSM. See error message for details.

1716

Failed to match the public key with a private key in the HSM. See error message for details.

1717

Failed to hash data. See error message for details.

1718

Failed to create BankID .bid file. See error message for details.

1719

Failed to load merchant certificates from .bid file. See error message for details.

1720

Failed to store merchant certificate in .bid file. See error message for details.

1721

Initiating activation failed. May be communication error (I/O) or invalid Activation URL. See error message for details.

1722

Failed to send shared secret. See error message for details.

1723

Failed to send PKCS#10 (certificate request). See error message for details.

1724

Failed to send final activation or renewal message to BankID COI. See error message for details.

1725

Failed to import certificate from file. See error message for details.

1726

Failed to store certificate request to file. See error message for details.

1727

Initiating renewal failed. May be communication error. See error message for details.

1728

Failed to send verifyAuth-message to BankID Test and Activation site. See error message for details.

1729

Failed to load existing .bid file. See error message for details.

1730

Failed to verify server signature. See error message for details.

1731

Failed to verify signature. See error message for details.

1732

Failed to verify certificate chain. See error message for details.

1733

Failed to save key ids. See error message for details.

1734

Failed to parse certificate. See error message for details.

1735

Failed to create detached PKCS#7. See error message for details.

1736

Man in the middle check failed. See error message for details.

1737

Failed to validate merchant POP. See error message for details.

1738

Failed to complete authentication with the merchant BankID file.

1739

Failed to complete signing with the merchant BankID.

1740

Failed to complete renewal of the merchant BankID.

1741

Failed to complete test of the merchant BankID.

1742

Failed to change password for the .bid file.

1743

The truststore for SSL connection towards BankID COI is invalid.

1744

Failed to initialize truststore for SSL connection towards BankID COI.

1745

Failed to setup trust manager for the SSL connection towards BankID COI.


If HAT fails repeatedly for some reason it is recommended that you send an email to support@bankid.no along with the log4j based log file (hat.log) as an attachment.