Steps to reproduce
- Go to mail
- Mail settings
- S/MIME
- Manage certificates
- Import certificates
- Select PEM
- Browse to select PEM certificate containing the private key
- Error Failed to import the certificate on submit
Expected behavior
The public key has been created with openssl x509 -in INFILE.p12 -pubkey -noout > OUTFILE.pem. The import should have added the public key to the S/MIME certificates.
Actual behavior
On submit the error notification Failed to import the certificate is displayed. Error log is attached.
errorlog.json
The import succeeds if the private key is included in the PEM file with openssl x509 -in INFILE.p12 -pubkey > OUTFILE.pem.
Mail app version
5.10.9
Nextcloud version
34.0.2
Mailserver or service
posteo.de
Operating system
Debian 13.6
PHP engine version
Other
Nextcloud memory caching
Redis via unix socket (php8.4-redis)
Web server
Apache (supported)
Database
PostgreSQL
Additional info
No response
Steps to reproduce
Expected behavior
The public key has been created with
openssl x509 -in INFILE.p12 -pubkey -noout > OUTFILE.pem. The import should have added the public key to the S/MIME certificates.Actual behavior
On submit the error notification Failed to import the certificate is displayed. Error log is attached.
errorlog.json
The import succeeds if the private key is included in the PEM file with
openssl x509 -in INFILE.p12 -pubkey > OUTFILE.pem.Mail app version
5.10.9
Nextcloud version
34.0.2
Mailserver or service
posteo.de
Operating system
Debian 13.6
PHP engine version
Other
Nextcloud memory caching
Redis via unix socket (php8.4-redis)
Web server
Apache (supported)
Database
PostgreSQL
Additional info
No response