Skip to content

S/MIME certificate email address not correctly detected #8648

@hegocre

Description

@hegocre

Steps to reproduce

  1. Open S/MIME certificate import dialog
  2. Import .p12 certificate
  3. After the import, check that the certificate name and email field contains the same value

Expected behavior

The email address of the certificate should be correctly detected, allowing to assign it to an email alias and use it to sign/encrypt emails.

Actual behavior

The email address is not correctly detected and contains the certificate name value, which means the certificate cannot be assigned to an email alias, thus preventing from using it.

Mail app version

3.2.4

Mailserver or service

No response

Operating system

Ubuntu 22.04 - Docker Nextcloud All-In-One

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

PostgreSQL

Additional info

My first thought is that maybe it contains the email address in a non-conventional field? In my case is the Subject Alternative Name. For obvious reasons, I cannot share the certificate to allow you to reproduce it, but I can try to give you as much information as possible, in case you need it. Thank you all.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions