WebSphere Application Server & Liberty

 View Only

 ENABLE HTTPS ON WAS

Jose Luis Nebril's profile image
Jose Luis Nebril posted 01/22/25 09:07 PM

Hi,

I get define https on HTTP Server using DCM and I get enable https with server certificate

But when we try access to a WAS Aplications I get an 500 error.

I am try to disabel secure comunications between HTTP and WAS disalbling WCInboundDefaultSecure and HttpQueueInboundDefaultSecure  using the note (https://www.ibm.com/support/pages/plug-regeneration-updates-https-transports-plugin-cfgxml-file-after-wcinbounddefaultsecure-transport-chain-disabled), but I get an 500 error. The WAS aplications is running  if I access to WAS port HTTP ( 10021)

I am try to recreate pluging plugin-key.kdb using ikeycmd but I can not found it.

Any simple idea to solv it?

Best regards

Gabriel Aberasturi's profile image
Gabriel Aberasturi

Hello Jose Luis,

  Please explain your environment.
  
  - Server OS
  - WAS and HTTP versions
  - HTTP server is in the same server with WAS or in other?
  - Do yo have any trace of the WAS server? error 500 its an server error.
  
  Thanks in advanced.
  
Regards

Jose Luis Nebril's profile image
Jose Luis Nebril

I'm sorry

IBMi  V7R5M0 

WAS Version V9.0.5.15 Base

HTTP Is HTTP/2  2.4.53 ( IBMi )

The HTTP and WAS is on the same machine and I have not trace but on pluging log I get

Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: Plugins loaded.
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: --------------------System Information-----------------------
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: Bld version: 9.0.5.15
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: Bld date: Jan  9 2023, 10:51:56
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: Webserver: Apache/2.4.53 (IBM i)
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: OS : AS400 
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: Hostname = S787E701.MITIE-SPAIN.COM
[Thu Jan 23 02:56:02 2025] 286486/QTMHHTTP/WEBSHSTEST 00000000 000002d9 - PLUGIN: --------------------------------------------------------------
[Thu Jan 23 02:57:05 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereFindTransport: Nosecure transports available
[Thu Jan 23 02:57:05 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find a transport
[Thu Jan 23 02:57:05 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereRequestHandler: Failed to find an app server to handle this request (1 of 1 servers down).
[Thu Jan 23 02:57:05 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: [80.25.157.180://GestBros/pages/indexNew.jsp] ws_common: websphereHandleRequest: Failed to handle request rc=4
[Thu Jan 23 02:57:06 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereFindTransport: Nosecure transports available
[Thu Jan 23 02:57:06 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find a transport
[Thu Jan 23 02:57:06 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereRequestHandler: Failed to find an app server to handle this request (1 of 1 servers down).
[Thu Jan 23 02:57:06 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: [80.25.157.180://GestBros/pages/indexNew.jsp] ws_common: websphereHandleRequest: Failed to handle request rc=4
[Thu Jan 23 02:57:07 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereFindTransport: Nosecure transports available
[Thu Jan 23 02:57:07 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find a transport
[Thu Jan 23 02:57:07 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: ws_common: websphereRequestHandler: Failed to find an app server to handle this request (1 of 1 servers down).
[Thu Jan 23 02:57:07 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a5 - ERROR: [80.25.157.180://GestBros/pages/indexNew.jsp] ws_common: websphereHandleRequest: Failed to handle request rc=4
[Thu Jan 23 07:57:16 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a4 - ERROR: ws_common: websphereFindTransport: Nosecure transports available
[Thu Jan 23 07:57:16 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a4 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find a transport
[Thu Jan 23 07:57:16 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a4 - ERROR: ws_common: websphereRequestHandler: Failed to find an app server to handle this request (1 of 1 servers down).
[Thu Jan 23 07:57:16 2025] 286475/QTMHHTTP/WEBSHSTEST 00000000 000006a4 - ERROR: [80.25.157.180://GestBros/index.html] ws_common: websphereHandleRequest: Failed to handle request rc=4

and on HTTP Log 

Thu Jan 23 02:56:46.611680 2025] [mpm_worker:notice] [pid 364376:tid 000005E8] ZSRV_MSG0385: Apache/2.4.53 (IBM i) configurado -- reanudando las operaciones normales.
[Thu Jan 23 07:57:07.403104 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0219: SSL ha recibido un mensaje mal formateado, error = 410.
[Thu Jan 23 07:57:07.403832 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0281: SSL: 80.25.157.180.
[Thu Jan 23 07:57:07.921296 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0219: SSL ha recibido un mensaje mal formateado, error = 410.
[Thu Jan 23 07:57:07.921336 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0281: SSL: 80.25.157.180.
[Thu Jan 23 07:57:09.089752 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0219: SSL ha recibido un mensaje mal formateado, error = 410.
[Thu Jan 23 07:57:09.089792 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0281: SSL: 80.25.157.180.
[Thu Jan 23 07:57:14.125440 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0219: SSL ha recibido un mensaje mal formateado, error = 410.
[Thu Jan 23 07:57:14.125480 2025] [ibm_ssl:error] [pid 364395:tid 000006A5] ZSRV_MSG0281: SSL: 80.25.157.180.