]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/ClientCSRGenerate.java
Merge "Update notes about password security"
[gigi.git] / src / org / cacert / gigi / output / ClientCSRGenerate.java
index 20d1c68f04d985c4983d1075190ec1056bc18d7a..440d2b0c3087dbb3d06f6f6d9b376e5297ab2b45 100644 (file)
@@ -14,18 +14,16 @@ public class ClientCSRGenerate {
 
     private static Template normal;
 
-    private static Template IE;
     static {
         normal = new Template(ClientCSRGenerate.class.getResource("ClientCSRGenerate.templ"));
-        IE = new Template(ClientCSRGenerate.class.getResource("ClientCSRGenerateIE.templ"));
     }
 
     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) {