Installed LU01020 and enabled AT-TLS for NetMaster API service. Task seems to start ok but when trying to use Swagger UI to connect to it, it reports error of
Bad Request
This combination of host and port requires TLS.
Checked through the task didn't find any meaningful information on what's wrong and how to proceed.
The config shows
spring.profiles.active: https,zos
server:
address: 0.0.0.0
port: 3001
attls:
required: TRUE
ssl:
keyAlias: Solve Lab Server 2023
enabled: FALSE
Our doc regarding the spring.profiles.active property here states that if you are using AT-TLS to enable secure connectivity,
make sure to remove the https value from this property.
If this is not done, the https value overrides the value of ssl.enabled and sets it to TRUE.
AT-TLS is attempting to use HTTP to communicate with our server over an HTTPS connector, which will then fail.