]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/ClientCSRGenerate.java
ADD: !Configchange! http serve
[gigi.git] / src / org / cacert / gigi / output / ClientCSRGenerate.java
index 20d1c68f04d985c4983d1075190ec1056bc18d7a..6146066b415fea7b61cebeb7787373c75ec96afd 100644 (file)
@@ -23,9 +23,9 @@ public class ClientCSRGenerate {
     public static void output(HttpServletRequest req, HttpServletResponse resp) {
         HashMap<String, Object> vars = new HashMap<String, Object>();
         vars.put("minsize", "2048");
-        vars.put("normalhost", "https://" + ServerConstants.getWwwHostNamePort());
+        vars.put("normalhost", "https://" + ServerConstants.getWwwHostNamePortSecure());
         vars.put("securehost", "https://" + ServerConstants.getSecureHostNamePort());
-        vars.put("statichost", "https://" + ServerConstants.getStaticHostNamePort());
+        vars.put("statichost", "https://" + ServerConstants.getStaticHostNamePortSecure());
         try {
             normal.output(resp.getWriter(), Page.getLanguage(req), vars);
         } catch (IOException e) {