If you've been wanting to speak securely to your garage door or whatever MQTTS capable devices you want to control with your #curl command lines, look no further:
(this is planned to merge in time for the March 2026 release)

GitHub
mqtt: initial support for MQTTS by bagder ยท Pull Request #19418 ยท curl/curl
test cases
documentation