cli: fix tls ca create
command with -domain
#19892
Merged
tls ca create
command with -domain
#19892