I knew I could config inputs.conf for ONE PORT like
but is there any config I could set ssl as default to apply to all tcp port to use?
I mean if I add a new port (9999) from splunk web, I'd like it to use SSL, and I do not need to config inputs.conf again.
If you want to configure SSL for all inputs then you can configure [SSL] stanza in inputs.conf
# To specify global ssl settings, that are applicable for all ports, add the
# settings to the SSL stanza.
# Specify any ssl setting that deviates from the global setting here.
# For a detailed description of each ssl setting, refer to the [SSL] stanza.