Issue Description
When trying to update the certificate via the stalwart-cli binary I receive an error.
Expected Behavior
Running stalwart-cli update certificate abcdabcfd --field 'certificate={"@type":"Text","value":"$(</etc/letsencrypt/live/mx.domain.email/fullchain.pem)"}' ought update the certificate.
Actual Behavior
error: invalidProperties
Failed to read certificate: Cryptographic error: No certificates found in PEM
Properties: certificate
error: update failed
Reproduction Steps
- stalwart 16.6
- Install a certificate via the UI
- Run the stalwart-cli to update it
Stalwart Version
v0.16.x
Installation Method
Binary (Linux)
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on