Very urgent - cant login to openemr after recent code changes

arnabnaha wrote on Saturday, June 08, 2013:

Hello…
I cannot login to openemr after giving my login in info following the recent code changes. I am in Windows machine and using xampp…openemr version 4.1.2…developer version…

After putting my username and password…it just pops up a new window saying: Server Configuration Problem…

Please help…it is very very urgent.

Dr. Arnab Naha

arnabnaha wrote on Saturday, June 08, 2013:

This is the error log in apache:

[Sat Jun 08 11:36:59 2013] [error] [client 117.194.198.96] Server Configuration Problem:Cannot Generate Key Pair!error:02001003:system library:fopen:No such process, referer: http://nahahealthclinic.dyndns.org/openemrtest/interface/login/login.php
[Sat Jun 08 11:42:48 2013] [error] [client 117.194.198.96] Server Configuration Problem:Cannot Generate Key Pair!error:02001003:system library:fopen:No such process, referer: http://nahahealthclinic.dyndns.org/openemrtest/interface/login/login.php
[Sat Jun 08 11:44:13 2013] [error] [client 117.194.198.96] Server Configuration Problem:Cannot Generate Key Pair!error:2006D080:BIO routines:BIO_new_file:no such file, referer: http://nahahealthclinic.dyndns.org/openemrtest/interface/login/login.php

yehster wrote on Saturday, June 08, 2013:

Fortunately, it looks like you are doing things in a test environment.
XAMPP and the latest code have a big problem that we are still trying to sort out.

https://sourceforge.net/p/openemr/discussion/202506/thread/9165a110/?limit=25&page=1#3240

bradymiller wrote on Saturday, June 08, 2013:

Hi,
Am spending some time on this today. Think I’m close to a relatively clean solution.
-brady
OpenEMR

arnabnaha wrote on Sunday, June 09, 2013:

Thanks Brady…Looking forward to it…

bradymiller wrote on Monday, June 10, 2013:

Hi Arnab,

Posted code here with explanation:
http://sourceforge.net/p/openemr/discussion/202506/thread/9165a110/

Note the code is still in development phases, but would be great if you let me know if it works for you (ie. only use it on a disposable testing server).

As I posted on the above forum link, what we decide to code and this fix (if we use it) will likely take some time. So at this point, I’d consider our current development master branch very unstable.

-brady
OpenEMR

arnabnaha wrote on Monday, June 10, 2013:

Yes brady…i will be testing it today and let u know

arnabnaha wrote on Monday, June 10, 2013:

Hi…just installed your branch and created a new testing openemr database with the branch code…the installation went fine…

  1. I was able to login with username: admin and password pass
  2. There is a problem with the add user window in the administration section
  3. Whenever i try to add a user, by entering the username and the desired password and also the current admin password as needed by the new mechanism, and click on save button, nothing happens. There is just no processing of any kind
  4. Even the patient portal is not working. I have tested only the onsite portal.

Thanks and regards
Dr. Arnab Naha

arnabnaha wrote on Monday, June 10, 2013:

If you want to test the branch…here is the link:

Link: http://nahahealthclinic.dyndns.org/openemrtest1

credentials:
Username: admin
Password: pass

bradymiller wrote on Tuesday, June 11, 2013:

Hi Arnab,

I wouldn’t spend more time testing this for now. We will be doing something that will be a much easier fix in the near future.

-brady
OpenEMR

bradymiller wrote on Saturday, June 15, 2013:

Hi Arnab,

The most recent development (some commits were just added several minutes ago) codebase should now work on windows.

-brady
OpenEMR

arnabnaha wrote on Saturday, June 15, 2013:

Thanks Brady…saw them now…seems u have removed the RSA thing for now…

bradymiller wrote on Saturday, June 15, 2013:

Hi Arnab,
Kevin resolved it by basically removing it. We decided to follow standard best practices and not do any encryption/hashing on the client/browser in OpenEMR and rely on SSL/HTTPS use.
-brady
OpenEMR

arnabnaha wrote on Saturday, June 15, 2013:

But how to activate the ssl or https in windows…can u please help me with that…from openemr if I try to download the certificate from adminstation => certificates…it doesnot work…

bradymiller wrote on Sunday, June 16, 2013:

Hi Arnab,

Suggest googling for setting “SSL XAMPP” (I saw a couple good tutorials including a video, which I can copy/paste links here if you can’t find them) to see what needs to be done and recommend not using the Administration->Certificate module for now (once you get comfortable with certificates etc. then can think about client sides certificates).

This is something that we will need to document well on the wiki since we need to recommend users to use this in the future (note that not using http (and not https) is insecure unless connecting over localhost; ie. client/server are the some computer)). Let us know how it goes.

-brady
OpenEMR