ctest: Require minimum TLS 1.2 by default

Issue: #25701
3 files changed