Outbound mTLS Integration via MID Server was failed after the Endpoint Sever changed to Accept TLSv1.3 onlyIssue The previously working outbound mTLS integration via the MID Server began failing after the endpoint server was updated to accept only TLSv1.3, due to a handshake failure. Symptoms Sample error in the MID Server agent log file com.snc.process_flow.exception.OpException: Request not sent to uri= uatmauthoptus://XX.XX.XXX.XXX/rest-dhda/v2.0/api/OBATE/inbound : java.net.SocketException: Socket is closed at com.snc.process_flow.operation.AbstractHttpOperation.processError(AbstractHttpOperation.java:496) at com.snc.process_flow.operation.AbstractHttpOperation.handleResponse(AbstractHttpOperation.java:469) at com.snc.process_flow.operation.AbstractHttpOperation.invoke(AbstractHttpOperation.java:266) at com.snc.process_flow.operation.RetryableIntegrationOperation.run(RetryableIntegrationOperation.java:60) at com.snc.process_flow.operation.HttpOperation.run(HttpOperation.java:259) at com.snc.process_flow.engine.Operation.run2(Operation.java:90) at com.snc.process_flow.v2.exec.OpRunner.runOperation(OpRunner.java:72) at com.snc.process_flow.v2.exec.RetryableIntegrationOpInstructionExecutor.runOperation(RetryableIntegrationOpInstructionExecutor.java:90) at com.snc.process_flow.v2.exec.OpInstructionExecutor.execute(OpInstructionExecutor.java:33) at com.snc.process_flow.v2.exec.OpInstructionExecutor.execute(OpInstructionExecutor.java:19) at com.snc.process_flow.v2.exec.EngineV2.executeInstructions(EngineV2.java:191) at com.snc.process_flow.v2.exec.EngineV2.run(EngineV2.java:111) at com.snc.process_flow.v2.exec.EngineRunner.lambda$run$0(EngineRunner.java:28) at com.snc.process_flow.v2.exec.enviroment.execution.ExecutionScopeRunner.run(ExecutionScopeRunner.java:37) at com.snc.process_flow.v2.exec.EngineRunner.run(EngineRunner.java:28) at com.snc.process_flow.engine.EngineV2Adapter.runWithExecutionResult(EngineV2Adapter.java:160) at com.snc.process_flow.engine.EngineV2Adapter.resumeWithExecutionResult(EngineV2Adapter.java:448) at com.snc.process_flow.engine.ProcessAutomation.runWithExecutionResult(ProcessAutomation.java:143) at com.snc.process_flow.engine.ProcessAutomation.resumeWithExecutionResult(ProcessAutomation.java:77) at com.snc.process_flow.engine.MidProcessAutomation.resumeFlow(MidProcessAutomation.java:74) at com.service_now.mid.probe.IPaaSActionProbe.lambda$probe$0(IPaaSActionProbe.java:129) at com.glide.util.LogContext$Frame.run(LogContext.java:247) at com.service_now.mid.probe.IPaaSActionProbe.probe(IPaaSActionProbe.java:99) at com.service_now.mid.probe.AProbe.process(AProbe.java:160) at com.service_now.mid.queue_worker.AWorker.runWorker(AWorker.java:193) at com.service_now.mid.queue_worker.AWorkerThread.run(AWorkerThread.java:20) at com.service_now.mid.threadpool.ResourceUserQueue$RunnableProxy.run(ResourceUserQueue.java:643) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2026-10-19T13:20:45.095+1100 DEBUG (Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c) [MidPFLogger:32] IPaaSActionProbe | Begin to unmark transaction as IntegrationHub transaction after processing plan id: b195cf0df00417506c876239d9d94683 2026-10-19T13:20:45.095+1100 DEBUG (Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c) [MidPFLogger:32] IPaaSActionProbe | FE-DEBUG: engine finished for context: b195cf0df00417506c876239d9d94683 Exceptions in the MID Server Wrapper log file after enabling SSL debug (wrapper.java.additional.300=-Djavax.net.debug=ssl,handshake) 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.685 AEDT|ClientHello.java:638|Produced ClientHello handshake message ( 2026/10/19 13:20:44 | "ClientHello": { 2026/10/19 13:20:44 | "client version" : "TLSv1.2", 2026/10/19 13:20:44 | "random" : "DFB5357955DD57C32C330DEE11B98297397EB65989A63FB91E9720E20B13373F", 2026/10/19 13:20:44 | "session id" : "", ...... 2026/10/19 13:20:44 | "signature_algorithms (13)": { 2026/10/19 13:20:44 | "signature schemes": [ecdsa_secp256r1_sha256, ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512, ed25519, ed448, rsa_pss_rsae_sha256, rsa_pss_rsae_sha384, rsa_pss_rsae_sha512, rsa_pss_pss_sha256, rsa_pss_pss_sha384, rsa_pss_pss_sha512, rsa_pkcs1_sha256, rsa_pkcs1_sha384, rsa_pkcs1_sha512, dsa_sha256] 2026/10/19 13:20:44 | }, 2026/10/19 13:20:44 | "supported_versions (43)": { <========== 2026/10/19 13:20:44 | "versions": [TLSv1.2] <========== 2026/10/19 13:20:44 | }, 2026/10/19 13:20:44 | "signature_algorithms_cert (50)": { 2026/10/19 13:20:44 | "signature schemes": [ecdsa_secp256r1_sha256, ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512, ed25519, ed448, rsa_pss_rsae_sha256, rsa_pss_rsae_sha384, rsa_pss_rsae_sha512, rsa_pss_pss_sha256, rsa_pss_pss_sha384, rsa_pss_pss_sha512, rsa_pkcs1_sha256, rsa_pkcs1_sha384, rsa_pkcs1_sha512, dsa_sha256, ecdsa_sha1, rsa_pkcs1_sha1, dsa_sha1] 2026/10/19 13:20:44 | } 2026/10/19 13:20:44 | ] 2026/10/19 13:20:44 | } 2026/10/19 13:20:44 | ) 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.685 AEDT|SSLSocketOutputRecord.java:261|WRITE: TLSv1.2 handshake, length = 270 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.696 AEDT|SSLSocketInputRecord.java:214|READ: TLSv1.2 alert, length = 2 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.696 AEDT|SSLSocketInputRecord.java:247|READ: TLSv1.2 alert, length = 2 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.696 AEDT|Alert.java:232|Received alert message ( 2026/10/19 13:20:44 | "Alert": { 2026/10/19 13:20:44 | "level" : "fatal", <========== 2026/10/19 13:20:44 | "description": "protocol_version" <========== 2026/10/19 13:20:44 | } 2026/10/19 13:20:44 | ) 2026/10/19 13:20:44 | javax.net.ssl|ERROR|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.697 AEDT|TransportContext.java:375|Fatal (PROTOCOL_VERSION): Received fatal alert: protocol_version ( 2026/10/19 13:20:44 | "throwable" : { 2026/10/19 13:20:44 | javax.net.ssl.SSLHandshakeException: (protocol_version) Received fatal alert: protocol_version <========== 2026/10/19 13:20:44 | at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:370) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:287) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:209) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:922) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:371) 2026/10/19 13:20:44 | at com.glide.communications.GlideSSLProtocolSocketFactory.collectTelemetry(GlideSSLProtocolSocketFactory.java:361) 2026/10/19 13:20:44 | at com.glide.communications.GlideSSLProtocolSocketFactory.createSocket(GlideSSLProtocolSocketFactory.java:351) 2026/10/19 13:20:44 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:711) ...... 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.697 AEDT|SSLSocketImpl.java:1750|close the underlying socket 2026/10/19 13:20:44 | javax.net.ssl|DEBUG|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.697 AEDT|SSLSocketImpl.java:1776|close the SSL connection (passive) 2026/10/19 13:20:44 | javax.net.ssl|ERROR|F8|Worker-Expedited:IPaaSActionProbe-b195cf0db0041750792e302eabf1e89c|2026-10-19 13:20:44.698 AEDT|SSLSocketImpl.java:374|handshake failed ( <============ 2026/10/19 13:20:44 | "throwable" : { 2026/10/19 13:20:44 | javax.net.ssl.SSLHandshakeException: (protocol_version) Received fatal alert: protocol_version 2026/10/19 13:20:44 | at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:370) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:287) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:209) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:922) 2026/10/19 13:20:44 | at java.base/sun.security.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:371) 2026/10/19 13:20:44 | at com.glide.communications.GlideSSLProtocolSocketFactory.collectTelemetry(GlideSSLProtocolSocketFactory.java:361) 2026/10/19 13:20:44 | at com.glide.communications.GlideSSLProtocolSocketFactory.createSocket(GlideSSLProtocolSocketFactory.java:351) 2026/10/19 13:20:44 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:711) ....... Release The latest platform release is Brazil as of the time of writing this article. Cause By default, the MID Server supports TLSv1.2 connections. If the endpoint server only supports TLSv1.3, it could cause a handshake failure. Resolution To make the MID Server also support TLSv1.3 during the handshake with the endpoint server, please add the parameter below to the MID Server config.xml file then restart the MID Server. mid.secure.socket.protocol = TLSv1.3 Below is the output in the wrapper log file after making the change. (supported_version changed from [TLSv1.2] to [TLSv1.3, TLSv1.2] per the SSL debug log, which means the MID Server now supports handshakes for both TLSv1.2 and TLSv1.3) 2026/10/19 13:38:08 | javax.net.ssl|DEBUG|D8|Worker-Expedited:IPaaSActionProbe-8199cf09b0441750792e302eabf1e820|2026-10-19 13:38:08.860 AEDT|ClientHello.java:638|Produced ClientHello handshake message ( 2026/10/19 13:38:08 | "ClientHello": { 2026/10/19 13:38:08 | "client version" : "TLSv1.2", 2026/10/19 13:38:08 | "random" : "9EF5C3610CBB53834C5B53A35A309C809EC58DE9246F9E59086BFA0A1E204074", ...... 2026/10/19 13:38:08 | "supported_versions (43)": { <========= 2026/10/19 13:38:08 | "versions": [TLSv1.3, TLSv1.2] <========= 2026/10/19 13:38:08 | }, 2026/10/19 13:38:08 | "psk_key_exchange_modes (45)": { 2026/10/19 13:38:08 | "ke_modes": [psk_dhe_ke] 2026/10/19 13:38:08 | }, ...... 2026/10/19 13:38:08 | javax.net.ssl|DEBUG|D8|Worker-Expedited:IPaaSActionProbe-8199cf09b0441750792e302eabf1e820|2026-10-19 13:38:08.930 AEDT|ServerHello.java:878|Consuming ServerHello handshake message ( 2026/10/19 13:38:08 | "ServerHello": { 2026/10/19 13:38:08 | "server version" : "TLSv1.2", 2026/10/19 13:38:08 | "random" : "71CAEA4BC0A0D9BE577AA78049077FA67FD61290252669C4C8B293495D570F7F", 2026/10/19 13:38:08 | "session id" : "7A4806AD55FA8509AB3B5B588823C6B400A48AF2A28BC5731DF83BCFD22D7604", 2026/10/19 13:38:08 | "cipher suite" : "TLS_AES_256_GCM_SHA384(0x1302)", 2026/10/19 13:38:08 | "compression methods" : "00", 2026/10/19 13:38:08 | "extensions" : [ 2026/10/19 13:38:08 | "supported_versions (43)": { 2026/10/19 13:38:08 | "selected version": [TLSv1.3] 2026/10/19 13:38:08 | }, 2026/10/19 13:38:08 | "key_share (51)": { 2026/10/19 13:38:08 | "server_share": { 2026/10/19 13:38:08 | "named group": x25519 2026/10/19 13:38:08 | "key_exchange": { 2026/10/19 13:38:08 | 0000: 2D F8 64 56 E9 E2 EA D9 36 12 94 1E D8 B5 57 D0 -.dV....6.....W. 2026/10/19 13:38:08 | 0010: 5A 07 FB F5 65 FA EC E0 8F 86 36 AD D0 06 1C 54 Z...e.....6....T 2026/10/19 13:38:08 | } 2026/10/19 13:38:08 | }, 2026/10/19 13:38:08 | } 2026/10/19 13:38:08 | ] 2026/10/19 13:38:08 | } 2026/10/19 13:38:08 | ) 2026/10/19 13:38:08 | javax.net.ssl|DEBUG|D8|Worker-Expedited:IPaaSActionProbe-8199cf09b0441750792e302eabf1e820|2026-10-19 13:38:08.930 AEDT|SSLExtensions.java:204|Consumed extension: supported_versions 2026/10/19 13:38:08 | javax.net.ssl|DEBUG|D8|Worker-Expedited:IPaaSActionProbe-8199cf09b0441750792e302eabf1e820|2026-10-19 13:38:08.930 AEDT|ServerHello.java:978|Negotiated protocol version: TLSv1.3 <======== Related Links KB2674686 - mTLS MID Server connectivity fails after TLS version mismatch during SSL handshake