Wednesday, 2012-03-07

*** nowen (~nowen@adsl-74-176-212-133.asm.bellsouth.net) has joined #wikid15:50
*** Jon____ (54d1328f@gateway/web/freenode/ip.84.209.50.143) has joined #wikid19:47
*** Jon____ has quit (Client Quit)19:48
*** Jon_Ole (54d1328f@gateway/web/freenode/ip.84.209.50.143) has joined #wikid19:55
nowenhi Jon_Ole19:55
Jon_Olehi19:56
Jon_OleI have a quick question about your android client.19:56
nowenok19:56
Jon_OleI've managed to get a java client registered with my server19:56
Jon_Olehowever when I try the android clients it just waits a little while and goes back to the pages saying that I dont have any domains.19:58
nowenhmm.  what is your domain identifier?19:58
Jon_Ole08502523605419:58
Jon_OleI've tried it with a proxy in front also.19:59
Jon_OleI could see the connection comming through with status 200 however only one request was sent as opposed to the java client.19:59
nowenhmm20:00
Jon_OleI could find much in terms of log messges in the log files for the wikid server.20:01
nowenis there anything on the WiKIDAdmin logs?20:01
Jon_Oleis there some way to turn on more logging?20:01
Jon_Oleno, I meant to say I couldn't find anything.20:01
Jon_Olebasically messages about startup and status, nothing about the android client.20:02
nowenif you go to Logs / Configure loggers, you can set       com.wikidsystems and       com.wikidsystems.client.wClient and       com.wikidsystems.client.wAuth to debug20:05
nowenthen on the logs page, set the log level filter to 'debug' and hit Filter20:06
nowenif you want the logs to go the /opt/WiKID/logs, then you can change your /etc/WiKID/log4j.properties to http://pastebin.com/Qd9yfkpQ20:06
*** Jon_Ole has quit (Ping timeout: 245 seconds)20:06
*** Jon_Ole (54d1328f@gateway/web/freenode/ip.84.209.50.143) has joined #wikid20:10
nowenwelcome back :)20:10
Jon_Olehello again.20:10
Jon_Oleseems like I got disconnected...20:10
nowendid you set the domain to be locked tokens only or something?20:10
Jon_Oleanyway this message might be related:20:10
Jon_Olecom.wikidsystems.crypto.wCryptoException: com.ntru.jNeo.NTRUException: EXCEPTION!! (code: 51)20:10
nowenis this the enterprise version?20:11
Jon_Oleno i didn't touch those options.20:11
Jon_Oleyes, it is now. I started with the community edition thinking it would suffice, but then I saw the missing radius...20:12
nowenyeah, it is also missing support for Ntru, which is the encryption we use on wireless devices20:12
Jon_Oleok20:12
*** Jon_Ole_ (54d1328f@gateway/web/freenode/ip.84.209.50.143) has joined #wikid20:14
Jon_Ole_hmm got disconnected again.20:14
nowenare you using the web interface to irc?20:15
Jon_Ole_anyway then it is a question of making sure the community version has gotten properly removed...20:15
Jon_Ole_yes20:15
Jon_Ole_it doesnt work very well:)20:15
nowenyeah, you want to be sure to kill the database which is in /var/lib/pgsql/data20:16
nowenI recommend you mv it and then run 'service postgresql start' to recreate an empty one, then install the enterprise version20:16
Jon_Ole_ok, thanks. I'll try that.20:16
*** Jon_Ole has quit (Ping timeout: 245 seconds)20:17
*** Jon_Ole_ has quit (Ping timeout: 245 seconds)20:44
*** Jon_Ole (54d1328f@gateway/web/freenode/ip.84.209.50.143) has joined #wikid21:45
Jon_Olehello again21:45
Jon_Olethanks for the help on the previous problem21:46
nowennp21:46
nowenis there a new one? ;)21:46
Jon_Olereplacing the database solved the issue.21:46
Jon_Ole:)21:46
Jon_OleIm working on the example.jsp now.21:46
nowenok21:46
Jon_Oledoes this tell you anything?21:46
Jon_OleNo X509TrustManager implementation available21:46
nowenwhen does it come up?21:47
Jon_Oleas soon as I open the example.jsp file.21:47
Jon_OleI get The wClient connection to the server was NOT successfully established21:47
nowenwhat edits did you do in the file?21:48
Jon_OleI updated defaultservercode21:48
Jon_Olewc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "my key"21:49
Jon_Olemy key being my encryption key21:49
nowenwhere "my key" == your localhost passphrase?21:49
nowenahh21:49
Jon_Olethat was basically it.21:49
nowenit should be the passphrase for localhost.p1221:50
Jon_Oleok, well I gave the same passphrase for all passphrases during install and config.21:51
Jon_Olewanted to keep it simple.21:51
nowenhehe, don't blame you21:51
Jon_OleI found some pages on a similar topic where they had tried to replace the java policy files, but that didnt help for me atleast.21:52
nowenyeah, if you put your passphrase in there and then run wikidctl restart, I think you'll be ok21:53
Jon_Oletried that several times...21:53
nowenhmm21:53
nowenrun 'locate java.security' and run diff on the results.  should be two21:54
Jon_Olediff /opt/WiKID/conf/templates/java.security /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/security/java.security21:54
Jon_Olethat yielded no results.21:55
nowenso, to be clear, "my key" is the passphrase you used?21:56
Jon_Oleyes21:56
nowencan you post the whole error to pastebin?21:56
Jon_Olesure21:57
Jon_Olehow would I do that?21:57
Jon_Olea google search gives me several options for pastebin...21:59
nowenhehe, just head to http://pastebin.org and paste the error message, it will return an url21:59
nowenpost the url here21:59
Jon_Olehttp://pastebin.com/gQ2zijgR22:00
Jon_Olehmm, never used that before. seems handy.22:01
nowenyeah, very22:01
nowenyou have to remember to erase any private info ;)22:01
Jon_Oleyes, that could be unfortunate....22:02
nowenthere is a comma after your "my key", right?22:04
Jon_Oleyes22:05
Jon_Oleotherwise I probably would have ended up with a compliation error instead...22:06
nowenyeah22:06
nowenhave you tried using keytool on the certs?22:06
nowendid you create new certs for the Enterprise edition?22:07
Jon_Oleno I was happy that it kept my old certs..22:07
nowenI don't think that would be an issue22:07
Jon_Oleare the certs different between versions?22:07
nowenno22:08
nowenonly the crypto22:08
Jon_Oleok, and radius...22:08
nowenwhat's the date on your /opt/WiKID/private/CACertStore ?22:08
nowenthis should mean that the cacertstore that wClient is using doesn't have the CA that signed the servers intCA in it.22:09
Jon_OleModify: 2012-03-07 19:04:30.000000000 +010022:10
Jon_Olethat would be 4 hours ago.22:11
Jon_Oleabout when I started.22:11
nowenand WiKIDCA.cer?22:12
Jon_Olehmm... Modify: 2012-02-14 16:17:23.000000000 +010022:13
Jon_Olecould this mean the enterprise edition has dropped a old version of the certificate file in there replacing the one that the community edtion created.22:14
Jon_Ole?22:14
nowenpossibly22:14
nowenI think just recreate the intca and localhost via the web interface and see22:14
Jon_Oleok, I'll try that.22:15
Jon_OleThis CSR contains a Distinguished Name(DN) that already exists in the WiKID CA database.22:17
nowenok  hold on22:17
nowenok22:18
nowentry it now22:19
Jon_Oleok, it worked. All files seems updated except WiKIDCA.cer22:21
Jon_OleI did the int ca and the localhost certificate again.22:21
nowenhmm22:22
Jon_Oleok, the problem remains.22:24
nowenhmm22:24
nowenmaybe it is the other way around, maybe the rpm install of enterprise didn't overwrite the existing community WiKIDCA.cer?22:25
Jon_Oleok, that might be it. I'll extract the file from the enterprise version and overwrite it manually.22:27
Jon_Olehmm, excact same timestamp and size.22:39
nowenhmm22:40
Jon_Oleanyway I copied over and restarted. got the exact same problem.22:40
nowenhmm22:41
nowenwtf22:42
Jon_Oleok22:42
Jon_Ole?22:42
nowenwft == what the f*ck,  excuse my french - but since you're .nl, I assumed you spoke that too :)22:43
nowenso, the first thing that occurs to me is to rm /opt/WiKID/private, re-install and recreate the certs22:43
Jon_Oleyeah, I think I'll try this on a new vm tomorrow.22:44
nowenI'm sorry22:44
nowennot usually this convoluted22:45
Jon_Olesure, that is fine. thanks for your help anyway. I'm impressed with your support anyway. It is not often we get this kind of support during a trial period.22:46
Jon_Oleatleast not before talking to a lot of sales people first...22:46
nowenwell, we want it all up and running before you buy22:46
nowenand we don't have any sales people22:46
Jon_Olesounds great.22:47
nowenwe're trying to do things a bit different  ;)22:47
nowenall we want after you buy is suggestions for improvement22:47
Jon_Oleanyway, this install is just for myself, but I'm looking to set up a two factor solution for production access to our systems at work. there is a ssh gatway I really want to get rid of.22:48
nowenhmm22:48
nowenhow would we fit in that picture?22:48
nowenno ssh keys?  just otps?22:49
Jon_Olewe have an existing two factor solution which is somewhat inflexible. people have objected to using this against production and we have therefore ended up with a solution based on ssh and ssh keys. This is a solution I want to get rid of replace with for example openvpn and a two factor solution like yours.22:50
nowenahh22:51
nowenmakes sense22:51
Jon_Oleanyway, I've had enough for today. thanks for your help again.22:52
nowenok22:52
nowensee you tomorrow22:52
*** nowen has quit (Quit: Leaving.)23:05

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