Server-Client trouble
I'm having a bit of trouble getting the server-client function set up.
I'm currently trying on two Windows 7 machines with firewalls disabled.
Downloaded multiotp_5.0.3.0.zip, extracted and copied the windows dir to c:\multiotp on both machines.
server is located on 10.216.4.213
client is located on 10.216.4.214
On the machine supposed to act as server, I run the webservice_install.bat as administrator and get sent to the GUI on http://localhost:8112 .
In the GUI i add a TOTP user "test", without prefix PIN, to be able to validate function from client later.
on server i also runt the following commands for configuration:
(this is verified correctly "0 *OK: Token accepted")
On the client machine i run the following commands:
this gives me:
Comparing the multiotp.ini files i have the same encryption_hash and server_secret values on both machines, so this _should_ work.
Wireshark dump is available upon request.
I'm probably missing something simple, but at this time I'm staring myself blind on this problem. Does anyone have any idea?
I'm currently trying on two Windows 7 machines with firewalls disabled.
Downloaded multiotp_5.0.3.0.zip, extracted and copied the windows dir to c:\multiotp on both machines.
server is located on 10.216.4.213
client is located on 10.216.4.214
On the machine supposed to act as server, I run the webservice_install.bat as administrator and get sent to the GUI on http://localhost:8112 .
In the GUI i add a TOTP user "test", without prefix PIN, to be able to validate function from client later.
on server i also runt the following commands for configuration:
multiotp -config server-secret=secret
multiotp -config server-cache-level=1 server-cache-lifetime=15552000
multiotp -debug -display-log -log test <token>
(this is verified correctly "0 *OK: Token accepted")
On the client machine i run the following commands:
multiotp -config server-secret=secret
multiotp -config server-cache-level=1
multiotp -config server-timeout=5
multiotp -config server-url=http://10.216.4.213:8112
multiotp -debug -display-log -log test <token>
this gives me:
LOG 2017-01-25 12:36:17 debug Debug Debug: *parameter(s) received: -debug -display-log -log test 067782
LOG 2017-01-25 12:36:18 warning System Error: database file C:\multiotp\users\test.db for user test does not exist
LOG 2017-01-25 12:36:19 error Client-Server Error: Host answers with the following error code: 70 (ERROR: Server authentication error)
21 *ERROR: User doesn't exist
Comparing the multiotp.ini files i have the same encryption_hash and server_secret values on both machines, so this _should_ work.
Wireshark dump is available upon request.
I'm probably missing something simple, but at this time I'm staring myself blind on this problem. Does anyone have any idea?
This discussion has been closed.
Comments