Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%
- String defaultservercode = "010100000161";
- String status = "";
- String chall;
- wClient wc;
- if (session.getServletContext().getAttribute("wClient") == null) {
- wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "yourpassphrase-here",
- Config.getValue("BASEPATH") + "private/CACertStore", "changeit");
- // NOTE: The passphrase above "changeit" is the default passphrase for the CA trust store as delivered
- // by Sun with Java. If you change this value you will also need to change the passphrase used to
- // encrypt the CACertStore file. You must change both if you change either.
- session.getServletContext().setAttribute("wClient", wc);
- } else {
- wc = (wClient) session.getServletContext().getAttribute("wClient");
- }
- if (wc.isConnected()) {
- %>
Advertisement
Add Comment
Please, Sign In to add comment