Export to PDF fails in Modern UX when Clarity is configured with self sign certificate or restricted SS , the impacted modules can be Roadmap, Status Report etc
Steps to Reproduce:
Expected Results: The timeline view should be exported to PDF
Actual Results: The export to PDF doesn't happen and at the same time errors are seen in app ca log
ERROR 2022-03-10 12:51:56,196 [https-jsse-nio2-443-exec-8] playwright.PWPooledObject (clarity:admin:%sessionid%:PPM_REST_API) Playwright error during export
com.microsoft.playwright.PlaywrightException: Error {
message='net::ERR_CERT_AUTHORITY_INVALID at https://server.com/pm/#/roadmap/5000000/common/timeline?print=true
=========================== logs ===========================
navigating to "http(s)://server.com/pm/#/project/{{id}}/status/{{id}}?print=true", waiting until "load"
============================================================
name='Error
stack='Error: net::ERR_CERT_AUTHORITY_INVALID at http(s)://server.com/pm/#/project/{{id}}/status/{{id}}?print=true
=========================== logs ===========================
navigating to "http(s)://server.com/pm/#/project/{{id}}/status/{{id}}?print=true", waiting until "load"
============================================================
at FrameSession._navigate (/app/clarity1/tomcat-app-deploy/temp/playwright-java-15607966975214257235/package/lib/server/chromium/crPage.js:599:35)
at async /app/clarity1/tomcat-app-deploy/temp/playwright-java-15607966975214257235/package/lib/server/frames.js:622:30
at async ProgressController.run (/app/clarity1/tomcat-app-deploy/temp/playwright-java-15607966975214257235/package/lib/server/progress.js:89:22)
at async FrameDispatcher.goto (/app/clarity1/tomcat-app-deploy/temp/playwright-java-15607966975214257235/package/lib/dispatchers/frameDispatcher.js:79:59)
at async DispatcherConnection.dispatch (/app/clarity1/tomcat-app-deploy/temp/playwright-java-15607966975214257235/package/lib/dispatchers/dispatcher.js:330:22)
}
at com.microsoft.playwright.impl.WaitableResult.get(WaitableResult.java:54)
Release : 16.x
DE64360
Workaround:
internalUrl="http://xx.xxx.xxx.xxx"
sessionTimeout="" tenantTimeout="1440" sslType="implied" enableBroker="false">
Note: