Hi Nikita,

A couple of days ago I have submitted a patch about updating
p5-Crypt-PKCS10 from 1.10 to 2.001:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234096

You can take a patch from there and use it,
unless you can not wait another day untill it lands into the official ports tree, which will be announced at the same reference given above.

Regards, Sergei

On 19.12.2018 1:23, Oliver Welter wrote:
Hi Sergei,

yes - 2.00 is the same as 1.11, we just changed the version number.

Oliver

Am 18.12.18 um 23:20 schrieb Sergei Vyshenski:
Hi Oliver,
Can we use Crypt-PKCS10-2.001 (which I already see at GH) with openxpki-2.2.3 ? Asking, because in FreeBSD it is much more simpler to upgrade a package to the next version, than to downgrade it to the previous version.
Regards, Sergei

On 19.12.2018 1:09, Oliver Welter wrote:
Hello Sergei,

thanks for the clarification - the problem is the way how perl compares version numbers - it does a string comparison and therefore 1.10 is less then 1.8 (which must be 1.08 in that case). I was not aware of this and the "workaround" was to bump the version to 2.000.

Anyway, from a functional point of view 1.8 or 1.9 is sufficient for 2.2.3 so I suggest you build one of those. I will talk to my collegue if we can delete 1.10 from CPAN/github so we do not run into trouble with this.

best regards

Oliver


Am 18.12.18 um 22:49 schrieb Sergei Vyshenski:
Hi Oliver,

At the moment FreeBSD collection of ports (packages) has:
p5-openxpki-2.2.3
p5-Crypt-PKCS10-1.10

core/server/Makefile.PL of openxpki-2.2.3
contains condition:
'Crypt::PKCS10' => '1.8'

Also, file
OpenXPKI/Server/Workflow/Activity/CSR/PersistRequest.pm
contains directive:
use Crypt::PKCS10 1.8;
which means: we need version 1.8 or more
(cf http://perldoc.perl.org/functions/use.html)

The FreeBSD port of p5-openxpki-2.3.3 itself has a less strict constraint:
p5-Crypt-PKCS10>=1.3
So it should built fine with p5-Crypt-PKCS10-1.10 too.

Do you mean that p5-openxpki-2.2.3 still needs exactly
p5-Crypt-PKCS10-1.8
instead of
p5-Crypt-PKCS10-1.10 ?

In other words, do you recommend to downgrade
p5-Crypt-PKCS10-1.10
to
p5-Crypt-PKCS10-1.8
in the current version of FreeBSD ports?

Regards, Sergei

On 18.12.2018 23:35, Oliver Welter wrote:
Hi,

I am a bit astonished on your this comment:

 > P.S. After every installation, I need to modifying 2 files of
 > openxpki, because I get error messages at start. Its changing of
 > version of PKCS10 from 1.8 to 1.10:

This change is part of the current development head but not of the official 2.2.3 release so I assume you are working with the wrong codebase! Espacially this commit is not working "upstream" as we had some errors in the version numbering and this was reverted some commits later! So please check the source of your build - do not use develop unless you really know what you are doing!

I suggest you setup a fresh system with a fresh config and start from scratch - if its still not working, check the webserver error log and the openxpki error logs for further information.

Oliver

Am 18.12.18 um 17:32 schrieb Nikita Druba:
1. Ok, I was update all ports and was rebuild all dependencities of openxpki. It took so long, because computer, were is running openxpki, have not fast hardware and I was solving some troubles with incompabilities versions of perl libraries.

2. Now I have read this file, but creation some files not change anything.

3. mysql 5.6. Seems, that its ok. Running and answer to request, as minimum.

4. ps aux |grep openxpki:
openxpki   710   0.1  7.1  89252  72772  -  S    Fri20 11:53.49 openxpkid openxpki   711   0.0  7.1  89252  73112  -  S    Fri20 0:25.38 openxpkid

The error still here... Ideas?


06.12.2018 12:47, Sergei Vyshenski пишет:
1. Please make sure that _all_ of your ports tree is updated. After that, rebuild openxpki and you should not have versions incompatibility problem.

2. Have you followed all of the steps advised by:
/usr/ports/security/p5-openxpki/files/pkg-message.in
 From your previous message one could see that you have ignored some of the steps from there.

3. Which database do you use. Is it up and working?

4. And could you please give the output of:
ps aux |grep openxpki

On 05-Dec-18 17:51, Nikita Druba wrote:
Ok, I upgraded to the last 2.2.3 version. (Its strange, before I was saw in portstree only the same 2.0.3 version...)

Server and watchdog services started by "/usr/local/etc/rc.d/openxpki start" command and running without errors in logs. But the problem still here.

P.S. After every installation, I need to modifying 2 files of openxpki, because I get error messages at start. Its changing of version of PKCS10 from 1.8 to 1.10: line 10 in /usr/local/lib/perl5/site_perl/mach/5.26/OpenXPKI/Server/Workflow/Activity/CSR/PersistRequest.pm
and
line 34 in /usr/local/lib/perl5/site_perl/mach/5.26/OpenXPKI/Server/API/Object.pm

05.12.2018 13:30, Sergei Vyshenski пишет:
Hi Nikita,

Maybe you could go to the latest openxpki-2.2.3:

1) update your ports tree, e.g.: portsnap fetch update.
2) cd /usr/ports/security/p5-openxpki
make install clean
3) start daemons in a proper order, and check if openxpki daemon is running:
ps aux |grep openxpki

Regards, Sergei

On 04-Dec-18 17:47, Nikita Druba wrote:
Hello!

I've been trying so set up an openxpki server (Version (core): 2.0.3) under FreeBSD (Version 11.2.). I followed the quickstart guide on: https://openxpki.readthedocs.io/en/latest/quickstart.html, taking into account the features of the FreeBSD. I have created database, imported scheme, configured apache, executed sampleconfig.sh as is to test startup and work of service, and started the openxpki service without any errors using the command /usr/local/etc/rc.d/openxpki start (standard start script for FreeBSD).

Unfortunately whenever I try to access the web ui through http://myip/openxpki; I get an error reading: "Application Error The server did not return JSON data as expected. Maybe your authentication session has expired".

I already read about the same problem at past: https://sourceforge.net/p/openxpki/mailman/openxpki-users/thread/6AC96B1F-1F2F-44D3-B843-27B75FCF50D2%40googlemail.com/#msg36172755 But, any suggestions from this discussion don't work for me. I created webui.log, gave 777 permissions, but there clean.

Thanx in advance!


_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users


_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users



_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users




_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users




_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users




_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to