-
Bug
-
Resolution: Unresolved
-
Major
-
None
In case there is used expired client cert then folowing INFOs and WARN is logged into server log:
12:41:09,713 INFO [org.apache.http.impl.execchain.RetryExec] (ServerService Thread Pool -- 1) I/O exception (java.net.SocketException) caught when processing request to {s}->https://127.0.0.1:8569: Broken pipe (Write failed) 12:41:09,714 INFO [org.apache.http.impl.execchain.RetryExec] (ServerService Thread Pool -- 1) Retrying request to {s}->https://127.0.0.1:8569 12:41:09,742 INFO [org.apache.http.impl.execchain.RetryExec] (ServerService Thread Pool -- 1) I/O exception (java.net.SocketException) caught when processing request to {s}->https://127.0.0.1:8569: Broken pipe (Write failed) 12:41:09,742 INFO [org.apache.http.impl.execchain.RetryExec] (ServerService Thread Pool -- 1) Retrying request to {s}->https://127.0.0.1:8569 12:41:09,762 INFO [org.apache.http.impl.execchain.RetryExec] (ServerService Thread Pool -- 1) I/O exception (java.net.SocketException) caught when processing request to {s}->https://127.0.0.1:8569: Broken pipe (Write failed) 12:41:09,762 INFO [org.apache.http.impl.execchain.RetryExec] (ServerService Thread Pool -- 1) Retrying request to {s}->https://127.0.0.1:8569 12:41:09,783 WARN [org.jboss.eap.insights.report] (ServerService Thread Pool -- 1) Error: java.net.SocketException: Broken pipe (Write failed) at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150) at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:273) at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:89) at java.base/sun.security.ssl.CertificateVerify$T12CertificateVerifyProducer.produce(CertificateVerify.java:770) at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436) at java.base/sun.security.ssl.ServerHelloDone$ServerHelloDoneConsumer.consume(ServerHelloDone.java:182) at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:478) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:456) at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:199) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1382) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1295) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:416) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:388) at org.apache.httpcomponents.core//org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436) at org.apache.httpcomponents.core//org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384) at org.apache.httpcomponents.core//org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) at org.apache.httpcomponents.core//org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.httpcomponents.core//org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.httpcomponents.core//org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.httpcomponents.core//org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.httpcomponents.core//org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.httpcomponents.core//org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.httpcomponents.core//org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.httpcomponents.core//org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.httpcomponents.core//org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.InsightsApacheHttpClient.sendCompressedInsightsReport(InsightsApacheHttpClient.java:108) at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.InsightsApacheHttpClient.sendInsightsReport(InsightsApacheHttpClient.java:77) at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//com.redhat.insights.http.InsightsMultiClient.sendInsightsReport(InsightsMultiClient.java:43) at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//com.redhat.insights.InsightsReportController.lambda$generate$0(InsightsReportController.java:121) at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.JBossInsightsScheduler.lambda$scheduleAtFixedRate$0(JBossInsightsScheduler.java:59) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.JBossThread.run(JBossThread.java:513)
Expectated would be to log information that client certificate is expired on DEBUG level.