add a helper for runningn with tls (#3301)
add a helper for runningn with tls (#3301)

Signed-off-by: Greg Weber <greg@pingcap.com>

Co-authored-by: Ti Prow Robot <8d93ecb880184f72dbfca8f10b11aa46074d2fca@users.noreply.github.com>
pingcap/pd,pingcap/pd