Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21.0.4] Unable to send mails encrypt using S/MIME certificates #1541

Closed
tuxmaster5000 opened this issue Jun 1, 2021 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@tuxmaster5000
Copy link
Contributor

Because reopen will not work, here the link to the original report.
#1090
Here the current log:

util gpgme:MESSAGE:2021-06-01 05h34.22 utc:1632912: Setting GnuPG dir to '/var/lib/greenbone/gvmd/gnupg'
util gpgme:MESSAGE:2021-06-01 05h34.22 utc:1632912: Using OpenPGP engine version '2.2.20'
event alert:MESSAGE:2021-06-01 07h35.17 CEST:1633182: The alert ePost_foo was triggered (Event: Task status changed to 'Done', Condition: Always)
util gpgme:MESSAGE:2021-06-01 07h35.19 CEST:1633182: find_email_encryption_key: Found matching UID for foo@foo.foo
event alert:MESSAGE:2021-06-01 07h38.08 CEST:1634880: Alert ePost_foo (505b79f8-ba0f-4a39-a63b-a7441b925650) has been modified by gott
event alert:MESSAGE:2021-06-01 07h38.16 CEST:1634890: The alert ePost_foo was triggered (Event: Task status changed to 'Done', Condition: Always)
util gpgme:MESSAGE:2021-06-01 07h38.17 CEST:1634890: find_email_encryption_key: Found matching UID for oo@foo.foo
md manage:WARNING:2021-06-01 07h38.17 CEST:1634890: email_encrypt_smime: encryption fail

Using gpg keys instant of certificates will work.

@tuxmaster5000 tuxmaster5000 added the bug Something isn't working label Jun 1, 2021
@tryweb
Copy link

tryweb commented Jul 20, 2024

Regarding the certificate issue, it can be resolved by installing or updating trusted root certificates. Below is my workaround method. After running docker compose -p greenbone-community-edition up -d, execute the following commands to solve the problem:

docker exec greenbone-community-edition-gvmd-1 apt update
docker exec greenbone-community-edition-gvmd-1 apt install ca-certificates -y

I hope that updating ca-certificates can be added to the Dockerfile of image: greenbone/gvmd:stable to resolve this issue.

@cfi-gb
Copy link
Member

cfi-gb commented Jul 22, 2024

@tryweb IIUC this is something completely different (sending encrypted S/MIME mails) while yours is about the community supported MTA setup within the containers which even didn't existed back then in 2021.

About the ca-certificates see greenbone/docs#483 which probably requires a community contribution / PR.

@y0urself
Copy link
Member

Closing as this is related to an old version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants