Monday, 2011-12-12

*** WiKIDLogbot (~WiKIDLogb@ec2-174-129-6-100.compute-1.amazonaws.com) has joined #wikid15:27
card.freenode.netTopic for #wikid is: support for the WiKID Strong Authentication System.  If no one is here, try the nabble forums: http://www.wikidsystems.com/support/support/wikid-forums15:27
card.freenode.netUsers on #wikid: WiKIDLogbot @nowen asofrank mick_laptop perestrelka15:27
*** flexyz (5551950e@gateway/web/freenode/ip.85.81.149.14) has joined #wikid20:25
flexyzhey20:25
nowenhi20:25
flexyzcan I change port 443 to something else? I tries to modify server.xml but didnt work20:26
nowenwhat did you put in server.xml?20:26
flexyzjust another port instead of 443 like 84320:27
nowenthat should work20:27
flexyzdont :( I seems only to work with 44320:28
nowenhere's ours:20:29
nowen    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"20:29
nowen               maxThreads="150" scheme="https" secure="true"20:29
nowen               keystorePass="changeit" keystoreFile="/ebs/opt/WiKID/conf/tomcatKeystore" keyAlias="tomcat"20:29
nowen               clientAuth="false" sslProtocol="TLS" />20:29
flexyzstrange20:29
flexyzwell gotta try again them20:29
flexyzshould be changed in that file right20:30
nowen/opt/WiKID/tomcat/conf/server.xml20:30
flexyzyes that's where I changed it, wierd but thanks just wanted to know if there was a trick20:32
nowenis there an error?20:32
flexyznot really but nothing listens to the port, tried other ports20:34
nowennothing in /opt/WiKID/tomcat/logs/catalina.out?20:41
*** flexyz has quit (Ping timeout: 258 seconds)20:51
*** XaaS (ce705fb4@gateway/web/freenode/ip.206.112.95.180) has joined #wikid21:13
XaaS@nowen - do you have a moment?21:13
nowensure21:13
XaaShaving issues with the example.jsp page... had it working on a previous rebuild of the eval server21:13
XaaSbut it isn't working now21:13
nowendid the example.jsp get over written?21:14
XaaSchanged the domain from 1270000000001 to the domain we are using21:14
XaaSno21:14
XaaSI backed up the original21:14
nowenand the passphrase is correct?21:14
XaaSusing the passphrase for the localhost cert - not the Intermediate CA that WiKID issues21:14
XaaSand I left the passphrase ChangeIt there21:15
XaaSthe one that Sun Java requires is still default21:15
nowenand you've restarted WiKID?21:16
XaaSyeup21:16
nowenis there an error in the WiKIDAdmin logs?21:16
XaaSactually there seems to be one - the localhost cert is invalid is what I think it says21:17
*** FlexyZ (5551950e@gateway/web/freenode/ip.85.81.149.14) has joined #wikid21:17
XaaSand I have recreated the cert several times from the gui21:17
XaaSGetting you the error from the log right now21:17
nowenhmm.  Can you double check your passphrase from the command line: http://www.wikidsystems.com/support/wikid-support-center/troubleshooting-faq/how-do-i-know-if-my-certificate-is-valid21:18
XaaSI think I have done this before - and it worked (I could see the contents of the keystore with the passphrase provided)21:18
nowenare the dates correct on the server?21:20
XaaSI can see the contents of both keystores - no errors - tried to change the passphrase to an incorrect one to see the results of a bad passphrase21:22
XaaSthe passphrases I am using for both intCAKeys.p12 and localhost.p12 are valid21:23
XaaSThe error com.wikidsystems.server.wAuth - Couldn't validate the client certificate. Verify the validity and dates of the client cert.21:24
XaaSdate of the WiKID Virtual Machine is syncing to the VMware host and that host is syncing via NTP to tick.usno.navy.mil21:25
XaaSVMware Tools is installed on the WiKID Virtual Machine21:25
XaaSThe file that I am modifying is /opt/WiKID/tomcat/webapps/WiKIDAdmin/example.jsp21:27
XaaSThis is what I have in the example.jsp:21:29
XaaS   String defaultservercode = "065122132008";     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", "xaassecret", Config.getValue("BASEPATH") + "private/CACertStore", "changeit");21:30
nowenhmm. looks ok to me21:32
nowendid you back up the original to the same directory?\21:34
*** FlexyZ has quit (Ping timeout: 258 seconds)21:35
XaaSyes21:36
nowenok - try running diff on the the two files.  maybe there is an extra character somewhere21:36
XaaScan you tell anything from that error? - he error com.wikidsystems.server.wAuth - Couldn't validate the client certificate. Verify the validity and dates of the client cert.21:37
XaaShmm21:37
XaaS[root@wikid WiKIDAdmin]# diff example.jsp example.jsp.org 45c45 <     String defaultservercode = "065124132008"; --- >     String defaultservercode = "127000000001"; 50c50 <         wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "xaassecret", --- >         wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "passphrase",21:38
nowenwell, that looks ok.21:39
XaaSonly looks like the changes I did are showing up21:39
XaaSno "extra" characters are being picked up by diff21:39
nowenso, when you say you created new certs did you create just a new localhost cert or both?21:40
XaaSalso getting a com.wikidsystems.client.wClient - ERROR: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown21:41
nowenthe logs are just saying that the cert isn't valid. typically, this is an b/c of a typo in the file or a date issue21:42
XaaScreated intermediate csr - imported existing valid Intermediate CA cert - created localhost cert with IntCA passphrase and local passphrase21:42
nowenit can also happen if the dates are wrong and the cert is no longer valid.21:43
nowenhmm.21:43
XaaSclock is correct21:43
nowenis this a new server?21:43
XaaSyes21:43
nowennew ip or domain?21:43
XaaSip addresses, fqdn, and wikid domains are all the same21:44
nowenok - try this.  run 'wikidctl stop' and then 'killall -9 java'  and then 'wikidctl start'21:45
XaaSI've seen that before on the forums! :)21:45
nowenjust to make sure that everything is being cleared.21:46
nowenanother idea:21:46
nowenafter you run wikidctl stop21:46
nowengo into /opt/WiKID/tomcat/work21:46
nowenand run 'rm -Rf *'  < make sure you are in the right directory21:46
XaaS[root@wikid WiKIDAdmin]# killall -9 java21:47
XaaSjava: no process killed21:47
nowenthat will force tomcat to rebuild the work directory21:47
XaaSAre we to destroy the Catalina subdirectory in work then?21:48
nowenyes\21:48
XaaSok - just did it and did a wikidctl start21:50
nowenand...? <fingers crossed>21:52
XaaSStill "The wClient connection to the server was NOT successfully established "21:56
nowenok - I recommend you go ahead and create new intermediate and localhost cert21:57
XaaSHow do I recreate the local cert ?21:57
nowenjust through the WiKIDAdmin - see the Configuration page21:58
nowenmaybe that's all you need to do21:58
XaaSOK - let me try that again21:59
nowenIf you create a new intermediate ca, you need to create a new localhost21:59
XaaSnope22:00
*** FlexyZ (5551950e@gateway/web/freenode/ip.85.81.149.14) has joined #wikid22:00
XaaSI am going to blow away example.jsp and recopy from the original22:00
nowenwhat did you do?22:00
nowenI don't think it is example.jsp - I think it might be your certs22:01
XaaShmm22:04
XaaSI blew away the example.jsp file and restored a copy from the original copy and then edited it, no joy.22:04
XaaSso I guess you will need to reset wikid.secureaddres.com22:05
nowenno problem22:05
XaaSsorry wikid.secureaddress.com22:05
XaaSand that is not for leaving the last s off for savings22:06
nowenhehe22:06
nowendone22:06
XaaS<cool that you know the 1-800-MATTRES commercials>22:07
XaaSthe guys can't wait until this is all done22:10
nowensame here! ;)22:10
XaaSthey have show the token off to a few customers and interested partners - a lot of interest22:10
XaaSHad to make the adjustments to the architecture to include multiple NPS servers which took a longer time to implement22:11
XaaS@nowen - you da man!22:13
XaaSit's working now! :) Yeay! :)22:13
nowenGreat!22:14
XaaScan you point me to the way to create sub-admin accounts to provide the ability to compartmentalize the ability to manage wikid domains?22:14
nowenI suspect it was something with signing request.  you can move certs in general22:15
XaaSwhat's the best way to move certs - keep the cert issued by the CA in a notepad or backup the file??22:15
nowenyou can just copy the contents of /opt/WiKID/private to the new server.22:16
XaaSoh ok! that's easy22:16
nowenbut it is no issue for us to delete the existing cert22:16
XaaSI installed webmin on the VM. I will get SAMBA or FTP or something going to make it easy to work on it for the ops guys22:17
XaaSso, can you point me to the way to create sub-admin accounts to provide the ability to compartmentalize the ability to manage wikid domains?22:18
nowenhmm. I worry about that because a vulnerability in webmin would put the WiKID server at risk22:18
nowenwell, currently that is all via the API22:18
XaaScan you point me to the article on how to create the accounts?22:18
nowenthere are only Admin accounts on the WiKID server.  So what you would have to do is create an app that used your existing account system that supported the WiKID API22:19
nowenso, the admin would log in to your app then be able to re-enable a user, etc22:20
nowenhow are your admins authenticated now?22:21
XaaSso, I can't create a example-like.jsp page that can create a sub-admin account?22:21
XaaSadmins are using l/p22:22
XaaSno 2fa yet22:22
XaaSall systems are tied to IP address filters22:22
XaaSwe do have Active Directory for most everything however22:22
nowenThe example.jsp is protected by the WIKIDAdmin security realm.  You would need to create new realms if you wanted to do that on tomcat22:23
XaaSso we are talking using Linux security with Tomcat to create user accounts that can be used to manage WiKID via a modified example.jsp file with limited capabilities?22:25
nowenyou could do it that way.  or you could check out the C# api package and do it on windows22:26
XaaSwhere is that?22:27
nowenhttp://www.wikidsystems.com/downloads/network-clients22:28
XaaSI have been looking here for it - http://www.wikidsystems.com/support/wikid-support-center/manual22:28
XaaSHave you seen anyone do the ASP AD integration? Do you know if it is available without having to code?22:30
nowenthat code was contributed by someone who was using it.   You may or may not have to code to get it running.  There should be an example file just like the example.jsp page in that package.  if you handle the auth to that page you should be able to edit it to do what you want.22:32
XaaSOK - I will fire up IIS to see what damage I can do22:33
nowenhehe22:33
nowenhave at it22:33
XaaSSo long and thanks for all the fish! :)22:33
nowenlater22:34
nowencome back and let me know how it goes22:34
XaaSI will - you can be sure22:34
XaaSI think it would be good if WiKID had more tools for Windows Admins to be able to manage the environment more than just the web GUI and the API22:35
nowenyeah, I hear you22:35
nowenI think we need to address the *asS market and see what it needs22:35
XaaSCorrect - that multi-tenancy will go a long way to address that market22:37
XaaSespecially being able to support multiple devices supporting multiple wikid domains22:37
*** XaaS has quit (Quit: Page closed)22:41
FlexyZnowen - remeber I had problems starting admin on another port22:41
nowenyes22:46
FlexyZmust be local iptables22:47
FlexyZblocking22:47
nowen?22:47
nowenyou mean selinux>22:47
nowen?22:47
FlexyZis there a local firewall?22:47
FlexyZwhen i change port to "843" for admin instead of "443" - is not working, no errors in log22:48
FlexyZmust be local firewall not permiting?22:48
nowentry 844322:48
FlexyZsame22:48
nowenrun 'sestatus'22:48
nowenand see if selinux is enabled22:49
FlexyZit is22:49
nowenok that's probably it22:49
nowenyou can run setenforce to disable it temporarily22:50
FlexyZhow do I accept port 844322:50
nowentake a look at http://wiki.centos.org/HowTos/SELinux22:51
FlexyZalright thx22:52
nowenI gotta run22:58
*** nowen has quit (Quit: Leaving.)22:59
*** FlexyZ has quit (Quit: Page closed)23:32

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!