Support Article
Unable to generate application document with screenshots
Summary
Unable to generate an application document with screenshots of the application.
Error occurs when using the Pega functionality to generate application documents from Open Overview.
Error Messages
The Server is not responding. Please try again and contact your system administrator if the problem persist
com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLException: hostname in certificate didn't match
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:1771)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.perform(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:154)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.step7_circum0(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:1002)
Caused by:
javax.net.ssl.SSLException: hostname in certificate didn't match
at com.pega.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:228)
at com.pega.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
at com.pega.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:149)
at com.pega.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:130)
at com.pega.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:398)
at com.pega.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:496)
at com.pega.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
at com.pega.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at com.pega.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at com.pega.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at com.pega.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
at com.pega.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425) at com.pega.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:825)
at com.pega.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:759)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf
Steps to Reproduce
- Log in to the application.
- Navigate to Application > Open Overview.
- Navigate to Action > Document Application > Application Document.
- In Application Document, navigate to Definition.
- Click Customize
- Select all the fields in the Document Section and Case Type Assets tabs.
- Click Submit.
- Navigate to Screenshots tab > Capture Screenshots section.
- Click the Capture all button.
Root Cause
In the trustStore, host name ID did not match with the ID in the server's certificate.
Resolution
Perform the following local-change:
- Modify the certificate with a new host ID.
- Reimport the the certificat to the trustStore.
Published January 3, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.