What would you like to be added:
As discussed in #1460 (comment), it's worth adding a validation to validate TLS config must be set when protocol is HTTPS/TLS
Why this is needed:
Because we need to validate TLS config must be set when protocol is HTTPS/TLS