Skip to main content

To help with troubleshooting and to demonstrate wAuth, we have included example.jsp in /opt/WiKID/tomcat/webapps/WiKIDAdmin/. If you edit line 47 and change defaultservercode to your server code and line 52 changing the localhost "passphrase" to your passphrase, you can browse to the page logged in as WiKIDAdmin.

Look for this line:

wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "passphrase",
        Config.getValue("BASEPATH") + "private/CACertStore", "changeit");

And change "passphrase" to the passphrase for your localhost certificate.

NB: The passphrase for CACertStore on line 53 is, misleadingly, "changeit". However, it does not need to be changed.  Also, line numbers may change slightly.

If you get a tomcat error, check the passphrase you entered. If you still get an error, check that your clock is accurate. If your clock is not accurate, you may have created certificates that are no longer valid. You can delete them in /opt/WiKID/private. Just don't delete WiKID.cer.

This page demonstrates how easy it is to configure a JSP-based web-application for two-factor authentication with WiKID using wAuth. Each wAuth network client includes an example file.

If you get the error "The wClient connection to the server was NOT successfully established." Please double-check your passphrase. You might also make sure your certificates are valid.



 

Copyright © WiKID Systems, Inc. 2024 | Two-factor Authentication