Head in a blender

When ID Vault seems to stop working properly

Andy Pedisich  June 20 2016 08:38:57 PM
Had a situation recently where a user kept getting the message that their certificate had expired.  But we were using ID vault and had recertified the person doc.

Certificate still expired?  I had just two words for that.  Im possible.

But it was true.  When we downloaded the ID from ID Vault it clearly was expired, in spite of the fact that it looked like we had re-certed successfully.  The villain? A public key on the ID file that was not the same as the one in the Domino directory.  The recert doesn't happen if the public keys don't match.  There's a myriad of stuff that breaks when the keys don't match.

That's not the first time I have seen this occur, although I am not sure of how it actually happens.  Let's forget about the "how" for a second and let's just say, "Shoot, it just happens."

More importantly, how can you detect that it happens so you can avoid the repercussions?  You can detect it by setting the server document to log key mismatches.
Image:When ID Vault seems to stop working properly

That setting will alert you to the fact that there is a mismatch between the public key in a person document in the address book and the actual public key that's in the ID file.  It will log it in the Domino server log like this:

05/15/2013 23:51:07   Jack Torrance/OverlookHotel from host [] encountered non-fatal problem during authentication: Your public key does not match the one stored in the Address Book
05/15/2013 23:51:07   Opened session for Jack Torrance/OverlookHotel (Release 8.5.2FP2)
05/15/2013 23:51:07   Closed session for Jack Torrance/OverlookHotel Databases accessed:     1   Documents read:     0   Documents written:     0

If you want to comb through the logs looking for the error, then leave it at that.  Just walk away from the keyboard.  If you just have a couple of servers to worry about, then you're probably good to just search the logs for "public key" occasionally and you'll find it.  But if you'd rather be notified via email, create an event handler in the events4.nsf Monitoring Configuration database.  Make it look like this:

Image:When ID Vault seems to stop working properlyImage:When ID Vault seems to stop working properlyImage:When ID Vault seems to stop working properly

You'll be notified by email of public key mismatches before it causes a problem. Then all you need to do is fix the problem by making a copy of the user's public key from their ID file:
Image:When ID Vault seems to stop working properly

...and pasting it into the Public Key field of their person document:
Image:When ID Vault seems to stop working properly

Done deal. Take the rest of the day off. And you'll be set to be the caretaker of the domain for another season.  



1Adam Osborne  5/23/2013 4:32:30 PM  When ID Vault seems to stop working properly

Great post Andy, we've also seen something similar with the ID Vault where it complains that the "ID not downloaded because the wrong password was supplied" errors in DDM. See here for more details { http://ab1osborne.blogspot.com.au/2011/05/id-vault-may-not-be-doing-what-you.html }

The ID Vault is a great feature in Domino - it just has a few rough edges that need to be sanded back.


Discussion for this entry is now closed.