Wikis - Page

Knowledge Doc: NA scheduled EmailReportTask is failing due to missing root SSL certificate in truecontrol.truststore when using pfx certificate format.

0 Likes

This article helps to review "EmailReportTask" failure and to identify the probable cause of the issue and resolution steps.

Environment

Application versions: Network Automation(NA) 23.x, 2023.x, 2022.x, 2021.x, 2020.x
OS version: RHEL 7.x, RHEL 8.x


Situation

User has 4 NA cores with HS. In one of their NA core (Core2), when they run any email report task, the task is failing with below "Session log message". But the SMTP server is reachable from all NA cores.

Trace logging options:
system/authenticate
system/crypto
system/event
system/security
system/scheduler
webui

Session log message:

The SMTP server is unable to send the email. Please check the validity of the recipient email address and the sender email address.
Note some SMTP servers may refuse to deliver for certain email addresses, contact your system administrator if problem persists.

/opt/NA/server/log/appserver_wrapper.log:

2024/05/07 06:12:51 INFO  [stdout] {system/scheduler} [Thread-TaskID-7235411] 10 EmailReportTask: Starting EmailReportTask with ID:7235411 - 
2024/05/07 06:12:51 INFO  [stdout] {system/scheduler} [Thread-TaskID-7235411] 10 EmailReportTask: Calling e-mail report sender. - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [Thread-TaskID-7235411] 00 EmailReportTask: Setting default SSLSocketFactory for Email Reporting... - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [Thread-TaskID-7235411] 00 EmailReportTask: Successfully set default SSLSocketFactory for Email Reporting. - 
2024/05/07 06:12:51 INFO  [stdout] {system/security} [default task-11063] 10 CSRFFilterUtil: Session cookie Value:0LZELCO6Q5ZZZX1BF6KDW1CHARNGUTLF - 
2024/05/07 06:12:51 INFO  [stdout] {system/security} [default task-11063] 10 CsrfValidatorFilter: contentType:application/x-www-form-urlencoded AuthType:null - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [default task-11063] 00 PremiumLicenseSpecialFilter: Checking License of resource[/report.do] - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [default task-11063] 00 PermissionFilter: Started validating certificate chain for Email Reporting - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [default task-11063] 00 PermissionFilter: Loading default truststore for Email Reporting certificate chain validation... - 
2024/05/07 06:12:51 INFO  [stdout] {webui/history} [default task-11061] 00 RequestTrail: Regular request, to be added: /task.view.htm?taskID=7235411 - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [default task-11061] 00 PermissionFilter: Checking permission of resource[task.view.htm] for user [1301] w/ privilege [1] - 
2024/05/07 06:12:51 INFO  [stdout] {webui/xmlrequest} [default task-11061] 10 ResponseFilter: in doFilter() : /task.view.htm?taskID=7235411 - 
2024/05/07 06:12:51 INFO  [stdout] {webui} [default task-11061] 10 index_jsp: Pathname: /task.view.htm  Body: /task.view.jsp - 
2024/05/07 06:12:51 INFO  [stdout] {webui/timeout} [default task-11061] 10 String: Session timeout: Pathname: /task.view.htm  Body: /task.view.jsp - 
2024/05/07 06:12:51 INFO  [stdout] {webui} [default task-11061] 10 PageProfileHelper: uri:task.view.htm?taskID=7235411 - 
2024/05/07 06:12:51 INFO  [stdout] {webui} [default task-11061] 10 PageProfileHelper: token:task.view.jsp - 
2024/05/07 06:12:51 INFO  [stdout] {system/scheduler} [default task-11061] 00 ScheduleTaskManagementEJB: lookupScheduleTaskBy Id:7235411 - 
2024/05/07 06:12:51 INFO  [stdout] {webui} [default task-11061] 10 : Looking up task type for com.rendition.service.EmailReportTask - 
2024/05/07 06:12:51 INFO  [stdout] {system/event} [default task-11061] 00 EventManagementEJB: listEventsByEventTaskID sql: select EventID,EventType,EventDate,EventDeviceID,EventUserID,EventClass,EventTaskID,EventText,EventData,ConfigPolicyID,TicketNumber,Importance,LastModifiedDate from RN_EVENT R   where EventTaskID = 7235411 ORDER BY EventDate DESC  - 
2024/05/07 06:12:51 INFO  [stdout] {webui} [default task-11061] 10 TaskStatus: Getting localized task status for "Running" : Running - 
2024/05/07 06:12:51 INFO  [stdout] {system/authenticate} [default task-11063] 75 PermissionFilter: Unable to intialize pkix parameters for Email Reporting certificate chain validation - java.lang.IllegalStateException: Client certificate not present
2024/05/07 06:12:51 INFO  [stdout] 	at deployment.mf-nom-na.ear.truecontrol.war//com.rendition.web.PermissionFilter.isValidCertificateChain(PermissionFilter.java:458)
2024/05/07 06:12:51 INFO  [stdout] 	at deployment.mf-nom-na.ear.truecontrol.war//com.rendition.web.PermissionFilter.doFilterInternal(PermissionFilter.java:105)
2024/05/07 06:12:51 INFO  [stdout] 	at com.microfocus.itom.nom.common//org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2024/05/07 06:12:51 INFO  [stdout] 	at io.undertow.servlet@2.2.19.Final//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)


For cause and resolution read the complete knowledge document

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended