X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=tests%2Forg%2Fcacert%2Fgigi%2FTestCrossDomainAccess.java;h=ee3584fd41f7cbd6281e9e00e22498fea7d4485d;hp=e2a600704b5087f642c36a974f6732e6c344a94a;hb=4161987bc38a59c80d694b7061af88b774a8914a;hpb=474ccb03d08aff1d1f321bed9ea089bbe23943bf diff --git a/tests/org/cacert/gigi/TestCrossDomainAccess.java b/tests/org/cacert/gigi/TestCrossDomainAccess.java index e2a60070..ee3584fd 100644 --- a/tests/org/cacert/gigi/TestCrossDomainAccess.java +++ b/tests/org/cacert/gigi/TestCrossDomainAccess.java @@ -53,7 +53,7 @@ public class TestCrossDomainAccess extends ManagedTest { c.setLoginEnabled(true); await(c.issue(null, "2y", u)); - URLConnection con = new URL("https://" + ServerConstants.getSecureHostNamePort()).openConnection(); + URLConnection con = new URL("https://" + ServerConstants.getSecureHostNamePortSecure()).openConnection(); authenticateClientCert(pk, c.cert(), (HttpURLConnection) con); con.setRequestProperty("Origin", "https://" + ServerConstants.getWwwHostNamePortSecure()); String contains = IOUtils.readURL(con);