Remove the "all-trusting" TrustManager

Closes #8444