In the "application.yml" file, I noticed no difference in behavior with and without the "https" profile set:
spring.profiles.active: https,diag,zos
It seems that the only thing which determines whether HTTP or HTTPS is used, is whether or not server.ssl properties are set in "application.yaml".
The behavior I expected would be that if the "https" profile is set, and no server.ssl properties are set, then an error would result because SSL configuration is required.
In the "application.yml" file, I noticed no difference in behavior with and without the "https" profile set:
spring.profiles.active: https,diag,zos
It seems that the only thing which determines whether HTTP or HTTPS is used, is whether or not
server.ssl
properties are set in "application.yaml".The behavior I expected would be that if the "https" profile is set, and no
server.ssl
properties are set, then an error would result because SSL configuration is required.