Spruced up all the certificate tests.

When we introduced the GovCloud regions, this started causing all cert tests to fail (because we're doing a ``for`` loop & GovCloud has special restrictions to be able to connect). This PR fixes all of those.

Review please? @danielgtaylor