Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id:
94143
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
beanux [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Openssl file missing
Date: Mon, 24 Mar 2014 15:24:44 +0100
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: Beanux <beanux@gmail.com>
Hello,

I've on charge of several windows server (windows server 2012, windows server 2008), with several configurations. I'm not the owner, nor the administrator, i only maintain software installed on them.

On most of them, openssl included by strawberry, is working perfectly:

On some of them openssl give this warning:
WARNING: can't open config file: z:/strawberry_libs/build/_2013Q3__/ssl/openssl.cnf

On a few server (and i wasn't able to find any similarities between them), this warning become an error:
3892:error:02001015:system library:fopen:Is a directory:bss_file.c:169:fopen('z:/strawberry_libs/build/_2013Q3__/ssl/openssl.cnf','rb')
3892:error:2006D002:BIO routines:BIO_new_file:system lib:bss_file.c:174:
3892:error:0E078002:configuration file routines:DEF_LOAD:system lib:conf_def.c:199:



No one ever had a Z disk.
They have se same strawberry version. The openssl binary copied from the bugous server run perfectly on the other servers.

I've found a workaround, but it's trash (getting and replacing the openssl binary and librairie by another who search the config file on the correct path).

I'm thinking it's due to how openssl has been compiled for strawberry, but i don't have enough competences to continue on that reflection.


There isn't many informations, but if you need more, please ask (and if it is tricky tell me how to get them).
Thanks,

Best regards,
Subject: [rt.cpan.org #94143]
Date: Mon, 24 Mar 2014 15:36:36 +0100
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: Beanux <beanux@gmail.com>
A little omission, strawberry version: 5.18.1.1 but on the bugous server, i tried the 5.18.2.1 without any success.
Subject: Re: [rt.cpan.org #94143] Openssl file missing
Date: Mon, 24 Mar 2014 22:19:51 +0100
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: kmx <kmx@volny.cz>
Unfortunately z:/strawberry_libs/build/_2013Q3__/ssl/openssl.cnf is a path hardcoded in openssl's DLL z:/strawberry_libs/build/_2013Q3__ is a directory on my build machine AFAIK it is a feature or at least I have no idea how to make location of openssl.cnf relative to openssl.exe Maybe I can try to make hardcoded value something like c:/strawberry/c/bin/openssl.cnf (or so); however there will still be atrouble in case the user decides to install strawberry perl in non-default directory. If you really need to use openssl.cnf you can fiddle with OPENSSL_CONF env variable. -- kmx
Subject: [rt.cpan.org #94143] Openssl file missing
Date: Thu, 27 Mar 2014 09:49:02 +0100
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: Beanux <beanux@gmail.com>
It's fixed, by setting the OPENSSL_CONF variable. Besides, the conf file, does not need to exist. It can be set to a random path where there is no openssl.cnf, but the path must exist. It show a warning (that he can't find the conf file), but openssl is working, and return the version when the module ask for it. Thanks for your help -- Beanux


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.