Unable to send email with NPrinting with error "The remote certificate is invalid according to the validation procedure"
Attempting to send a test email via Web Console registered the following in the WebEngine logs
Qlik.NPrinting.Repo 126.96.36.199 Qlik.NPrinting.Repo.Service.MailService 20180228T110217.140-03:00 ERROR DOMAIN qvservice 0 0 0 0 0 0 0 0 Failed to send e-mail message to firstname.lastname@example.org. ERROR: The remote certificate is invalid according to the validation procedure.. Stack trace: at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)↓↓ at
- NPrinting November 2017
- NPrinting April 2018
Server certificates were considered invalid. Mail server is not using the same certificate chain installed on the NPrinting server. This can be confirmed with 3rd party Tools such as DigiCert
- NPrinting June 2018 release.
The June 2018 release of NPrinting includes a configuration option in email settings to disable the entire certificate validation procedure which will allow sending emails even if server certificates are considered invalid.Workaround:
If you continue to see this issue, please collect the certificate chain information and confirm the mail server is using the same certificate chain installed on the NPrinting server. This can be confirmed with 3rd party Tools such as DigiCert
.Information provided on this defect is given as is at the time of documenting. For up to date information, please review the most recent Release Notes, or contact support at support.qlik.com with the ID OP-7072 for reference.