Knowledge Base ISC Main Website Ask a Question/Contact ISC
pkcs_C_Login: Error = 0x00000005 - what does it mean?
Author: Cathy Almond Reference Number: AA-01338 Views: 5053 Created: 2016-01-18 16:39 Last Updated: 2018-04-20 23:08 0 Rating/ Voters


Using BIND with DNSSEC and keys managed within an HSM (Hardware Security Module), the following error is occasionally encountered (using BIND 9.10):

2015 Jun 25 12:52:08 dns-server pk11.c:648: fatal error:
2015 Jun 25 12:52:08 dns-server pkcs_C_Login: Error = 0x00000005
2015 Jun 25 12:52:08 dns-server exiting (due to fatal error in library)

What does this mean, why is it happening, and what can be done to fix this?


Error code 5 is CKR_GENERAL_ERROR.

It is a generic error being passed back to BIND by the PKCS#11 code, usually as a result of an error condition being returned by the HSM device.  You should refer to your HSM provider for more help with troubleshooting the problem.

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu