Closed 51CGO closed 1 year ago
It seems that if the SMTP server uses self-signed certificate, reporting-cli refuses to send the message:
The report is downloaded Error sending emailError: self signed certificate
Use reporting to generate a report and send it to an SMTP server that uses a slef-signed certificate.
There should be an argument to bypass this check. Many companies uses self-signed certificates so they won't be able to use the mail functionality.
RHEL8
N/A
For my needs, I made this patch but there should be a command-line option to enable this behaviour. email-helpers.js.patch
What is the bug?
It seems that if the SMTP server uses self-signed certificate, reporting-cli refuses to send the message:
The report is downloaded Error sending emailError: self signed certificate
How can one reproduce the bug?
Use reporting to generate a report and send it to an SMTP server that uses a slef-signed certificate.
What is the expected behavior?
There should be an argument to bypass this check. Many companies uses self-signed certificates so they won't be able to use the mail functionality.
What is your host/environment?
RHEL8
Do you have any screenshots?
N/A
Do you have any additional context?
N/A
Fix
For my needs, I made this patch but there should be a command-line option to enable this behaviour. email-helpers.js.patch