I want to use "pkinit"
preauth question to authenticate with kerberos
.
But I'm unable to answer "pkinit"
question because it's not available in the list of questions returned by krb5_responder_list_questions()
. Only "password"
is proposed.
How can I add "pkinit"
or even "otp"
in the list of preauth questions ?
I succeeded at the end. The problem was that a previous PKCS11 session was not closed before the PKINIT process tried to open a new one.
If all the previous opened sessions are well closed and the KDC is configured to ask the client for a PKINIT preauthentication, we should get the following result :