private String getResourcePath(String res) {
        URL resource = CAMutualAuthTest.class.getResource(res);
        try {
            System.out.println(res);
            return Paths.get(resource.toURI()).toFile().getAbsolutePath();
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        }
    }
Scenario:
  - First alias invalid, second valid.
  - Mutual trust exists between gateway and API.
  - We must fall back to the valid alias.
@throws CertificateException the certificate exception
@throws IOException the IO exception
gateway/platforms/servlet/src/test/java/io/apiman/gateway/platforms/servlet/auth/tls/AliasedCertTest.java