SMIME certificate does not work

  • Used Zammad version: 6.3.1
  • Operating system: Debian, PostgreSQL

Expected behavior:

  • Sign e-mails using SMIME.

Actual behavior:

  • Emails cannot be signed, the button is deactivated. The title tag contains the following error message:
PG::UndefinedFunction: ERROR:  operator does not exist: text[] && character varying[]
LINE 1: ...&quot; WHERE (((&quot;smime<u>certificates&quot;.&quot;email</u>addresses&quot; &amp;&amp; ARRAY[&#39;...
                                                             ^
HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.

Steps to reproduce the behavior:

  • Certificates and private keys are imported via Settings > System > Integrations > S/MIME.

New ticket created, button remains deactivated.

Hi @melody. Please update your system to the last version of Zammad.

Did you migrate from MySQL to PostgreSQL?

Maybe you could connect to your psql database (psql <database name> <database user>) and do a \d smime_certificates. Would be interesting.

Yes, we have migrated from MariaDB to PostgreSQL.
I think the Github issue refers to the bug?

Yes with this fix the problem should be solved.

Ah sorry, I saw that we currently didn’t backport it to stable.

Can you release a stable version in the short term?

I have tested it with a new installation (version 6.4).

Each ticket agent has its own email address (agent1@company,com), we receive and send from a global email address (info@company,com).

We have an S/MIME certificate for the global email address (info@company,com). When creating a ticket, the certificate cannot be activated because Zammad requires the ticket agent to have a certificate for its own email address (agent1@company,com).

Does every ticket agent need an S/MIME certificate or can we customize it in the Zammad settings

We’re working on a solution.

Did you check the official documentation for the S/MIME integration?