Friday, 2013-01-11

*** nowen (~nowen@50-194-249-125-static.hfc.comcastbusiness.net) has joined #wikid14:49
*** remo (50eed09e@gateway/web/freenode/ip.80.238.208.158) has joined #wikid15:08
nowenhi remo!15:08
remohi Nick :)15:08
nowenhow goes the testing?15:09
remowell, I do have a quick question...15:09
remo if I run wikid on a vm behind a firewall and want to allow people to use it to authenticate from outside, I asume that I give the server the ID of the external IP I will map it to, but what ports need to be NATed/forwarded by the FW?15:10
nowen8015:10
nowenthe tokens use asymmetric encryption, so no need for ssl15:10
remook, cool. is there a way to get the clients to use anything other than 80?15:12
remo80 is overloaded already^^15:12
nowennot on the client side, but you can have the server listen on another port and route requests to it15:12
nowensomething like:  RewriteRule ^/wikid/(.*) http://localhost:8090/wikid/$1 [P]15:13
nowenthen on the WiKID server, you need to change tomcat to listen to 8090 instead of 8015:13
remook, but the question came about more because I have port 80 on the EXTERNAL Ip already forwarded somewhere else... I don't see an issue on the server side...15:14
nowenare you running apache for the external?15:14
remonope, some kinda krap embedded thingy... but I just noticed that I should be able to route 80 exclusively to wikid for now, access to the other server from outside isn't really critical...15:16
nowenok - well we use apache and it can route things based on, well, anything I guess15:17
remojup15:19
remook, I got it to the point where an external 80 request goes to the server (I get the wikid favicon and an empty page, which seems right). However the client can't add the domain through the server key... how can I troubleshoot?15:37
nowenhttp://www.wikidsystems.com/support/wikid-support-center/troubleshooting-faq/how-do-i-run-the-token-in-debug-mode15:40
nowenso the token is getting to the server?15:41
nowenthe token needs to be able to write a file to the system too15:42
nowensometimes anti-spyware can intefere15:42
*** nowen has quit (Remote host closed the connection)15:55
*** nowen (~nowen@50-194-249-125-static.hfc.comcastbusiness.net) has joined #wikid15:56
remotoken on iphone :)16:05
nowenwhat's your domain identifier? I'll try it from here16:06
remo08023820815816:13
nowenworks for me16:13
nowenI get the PIN prompt16:13
nowenthis is the Enterprise version, right?16:13
remognaa, I think I know the problem... my iphone had wlan on and used the local network instead of 3g16:14
nowenahh16:14
nowenOK - I have lunch meeting way outside of town I have to get to.16:15
nowenI'll be back around 2ish16:15
*** nowen has quit (Quit: Leaving.)16:15
*** nowen (~nowen@50-194-249-125-static.hfc.comcastbusiness.net) has joined #wikid19:38
remowb19:48
nowenthx19:49
nowenany progress?19:49
remocurrently having fun trying to get apache and tomcat working on the wikid vm...19:50
nowenhmm19:50
nowenwhy?19:50
remousing mod_proxy doesn't really work as tomcat keeps redirecting to 127.0.0.119:51
remocurrently trying mod_proxy_ajp19:51
nowenwhat are you trying to accomplish?19:51
remoI need a php-serving webserver on the same machine...19:52
nowenok19:52
nowenthat redirect I posted before should work19:52
remonope, it doesn't...19:52
nowenand did you change the tomcat listen port?19:53
nowenin /opt/WiKID/tomcat/conf/server.xml?19:53
remoyes, to 809019:53
nowenit works on our webserver with our test wikid server19:54
remolucky you :)19:54
nowenlol19:54
remoThe main challenge is that is has to work with /WiKIDAdmin/, too, and that misbehaves somehow...19:55
nowendid you move ssl to another port?19:56
remonot really... can you check whether you can still see the server with a token client?19:58
nowensure19:58
nowennope19:58
nowenhttp://80.238.208.158/wikid/servlet/com.wikidsystems.server.InitDevice4AES?a=0&S=080238208158&CT=119:59
nowenis the page I get19:59
remohow about now?20:00
nowenyes20:00
remoah... ok... so the pure http redirect/reverse proxy works now and the admin stuff I got to solve differently because it uses ssl (or can I change it to non-ssl and do the ssl stuff at the apache level?)20:01
nowenI would just put it on another port20:02
nowen    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"20:02
nowen               maxThreads="150" scheme="https" secure="true"20:02
nowen               keystorePass="changeit" keystoreFile="/ebs/opt/WiKID/conf/tomcatKeystore" keyAlias="tomcat"20:02
nowen               clientAuth="false" sslProtocol="TLS" />20:02
nowenin //ebs/opt/apache-tomcat-6.0.20/conf/server.xml20:02
remohm, I'll look at that next week, now it's time for my Friday beer... :)20:05
nowenheeh20:05
nowenenojy!20:05
remothank you very much for your help, have a good weekend!20:05
nowenyou too20:05
*** remo has parted #wikid (None)20:07
*** remo (50eed09e@gateway/web/freenode/ip.80.238.208.158) has joined #wikid20:48
remoI'm back... got another question...20:49
remono beer :(20:49
nowenthat's allowed20:49
remo^^20:49
nowenthe question, that is20:49
nowenthe lack of beer is an issue20:49
remoI used the php example and have a question: the wclient needs a .pem certificate, but through the admin IF, i created a p12 for the local host... I can convert this using openssh, but I get an error from wclient.inc.php that it can't set local cert chain.. what am i missing?20:51
nowenperms?20:51
remoof what?20:51
nowenand you do mean openssl, right?20:51
nowenthe .pem20:51
nowencan apache read it20:51
remothe pem is 64420:52
remoand yes, openssl...20:52
nowendo you have the cacertstore in the directory too?20:52
remonope20:53
remo[Fri Jan 11 21:54:03 2013] [error] [client 10.255.255.127] PHP Warning:  stream_context_get_options() expects parameter 1 to be resource, null given in /var/www/html/wClient.inc.php on line 336 [Fri Jan 11 21:54:03 2013] [error] [client 10.255.255.127] PHP Warning:  stream_socket_client() [<a href='function.stream-socket-client'>function.stream-socket-client</a>]: Unable to set local cert chain file `lh.pem'; Check that your cafile/capa20:54
nowenI haven't touched the php stuff20:54
remono worries, I'll deal with it some other time...20:57
nowendid you restart apache?20:57
remo? why should I do that?20:59
nowenif you changed perms on the file or most anything20:59
remodidn't do that... it can read the file just fine, but the file must contain the wrong stuff...21:00
nowenis there any info on converting the p12 in the example.php or other docs in that package?21:00
remonope21:02
remothe only hint is that the file contains "example.pem" instead of the generated "localhost.p12"21:02
remocontains = references21:02
nowenhmm21:02
remohm... maybe the server isn't listening on port 8388?21:07
nowenthe WiKID server?21:07
nowenhmm21:07
nowen'netstat -anp | grep 8388'21:07
nowenor perhaps it is confused.  what IP did you use to create the network client?21:08
nowenbecause if this is on the same server, you could probably just use the localhost cert21:08
remothat's what I'm doing...21:08
remothe server is listening, btw...21:09
nowenoh, yeah, otherwise you probably wouldn't even get that cert error21:09
remoah... just saw that the CA cert is hardcoded in the example further down (after all the config stuff)...21:13
remook, got it... the example is kind of unintuitive... but once you convert some certs and move them around, it seems to work :)21:17
remocool, now I can go to bed :)21:19
remocu21:19
nowenwhat about that beer?21:19
joevanonowen: what are groups used for?21:39
nowenjoevano: sending back specific radius attributes21:39
joevanoah...21:40
nowenby group rather than the whole network client21:40
joevanotrying to figure out how I might use WiKID for authentication on our HP switches without having to add another domain21:40
joevanoHP doesn't have any kind of user management when configured with RADIUS... just pass back the access level (by group, I've heard)21:42
joevanowith our firewall it uses both windows AND the radius server so we control access through AD and auth with Wikid21:44
nowenso, can the switches also talk to AD/nps?21:44
joevanoI wish21:44
joevanowell I guess it could talk to NPS... but it is one or the other NPS or Wikid21:45
joevanoone primary and up to two failovers21:45
nowencan't you set all your networking equipment to talk radius to  NPS and then have nps talk to wikid?21:46
joevanooh, you can do that?21:46
joevanowell yes that would work21:46
nowenworth checking into22:06
nowenok - time for me to fly.22:06
nowensee ya'll next week22:07
*** nowen has quit (Quit: Leaving.)22:07
*** remo has quit (Quit: Page closed)22:24

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