"Can't sign: User interface error" SMIME

Moderator: crythias

Post Reply
nscblauensteiner
Znuny newbie
Posts: 28
Joined: 15 Apr 2019, 09:34
Znuny Version: 6.0.44
Real Name: Lukas B.

"Can't sign: User interface error" SMIME

Post by nscblauensteiner »

I have a problem with the current version 6.0.33.

Today I issued and imported new certificates for SMIME signing, the sys log provides the following error:

OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10 Can't sign: User interface error

---

EDIT 20210421: Signing the outgoing mails via the account for which I imported the certificates works.
Obviously only the Notification Mails are NOT going the be signed correctly.

Main log:


[Wed Apr 21 09:45:38 2021][Error][Kernel::System::Crypt::SMIME::Sign][457] Can't sign: User interface error
! (Command: smime -sign -in /opt/otrs/var/tmp/v_hs5zlrJ3.tmp -out /opt/otrs/var/tmp/E4zDHbTjdD.tmp -signer /opt/otrs/var/tmp/P67lMzFfkj.tmp -inkey /opt/otrs/var/tmp/dBng_LD3ka.tmp -text -binary -passin file:/opt/otrs/var/tmp/y4jmo5y43K.tmp)
[Wed Apr 21 09:45:38 2021][Info][Kernel::System::Ticket::Event::NotificationEvent::Transport::Email::SendNotification] Sent agent 'Ticket create notification' notification to '<USERNAME>@<MAIL_DOMAIN>'.

Strangely, I still get the error:

var/log/Daemon/SchedulerTaskWorkerERR-1618923152.log:


ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10 Perl: 5.26.1 OS: linux Time: Tue Apr 20 14:50:24 2021

Message: Can't sign: User interface error
! (Command: smime -sign -in /opt/otrs/var/tmp/p7oyoVx617.tmp -out /opt/otrs/var/tmp/PW2XBj7wyb.tmp -signer /opt/otrs/var/tmp/kqoROBEXea.tmp -inkey /opt/otrs/var/tmp/M0evHvUfKS.tmp -text -binary -passin file:/opt/otrs/var/tmp/QSf14_B8Zw.tmp)

Traceback (31489):
Module: Kernel::System::Crypt::SMIME::Sign Line: 457
Module: Kernel::System::Email::Send Line: 455
Module: Kernel::System::Ticket::Event::NotificationEvent::Transport::Email::SendNotification Line: 189
Module: Kernel::System::Ticket::Event::NotificationEvent::_SendRecipientNotification Line: 1220
Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 317
Module: Kernel::System::EventHandler::EventHandler Line: 223
Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 263
Module: Kernel::System::ObjectManager::ObjectEventsHandle Line: 425
Module: Kernel::System::ObjectManager::ObjectsDiscard Line: 473
Module: Kernel::System::ObjectManager::DESTROY Line: 642
Module: (eval) Line: 209
Module: main::Start Line: 209
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152
Post Reply