Select a certificate

How can I assign a contact a certificate. While I can select a certificate (Contacts> Contact> Certificate> Select …) but it is not saved. Is this a bug or how does it work properly?