Skip Menu |

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

Report information
The Basics
Id: 94143
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: beanux [...]

Bug Information
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 [...]
From: Beanux <beanux [...]>
Download (untitled) / with headers
text/plain 1.3k
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: [ #94143]
Date: Mon, 24 Mar 2014 15:36:36 +0100
To: bug-Perl-Dist-Strawberry [...]
From: Beanux <beanux [...]>
Download (untitled) / with headers
text/plain 117b
A little omission, strawberry version: but on the bugous server, i tried the without any success.
Subject: Re: [ #94143] Openssl file missing
Date: Mon, 24 Mar 2014 22:19:51 +0100
To: bug-Perl-Dist-Strawberry [...]
From: kmx <kmx [...]>
Download (untitled) / with headers
text/plain 595b
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: [ #94143] Openssl file missing
Date: Thu, 27 Mar 2014 09:49:02 +0100
To: bug-Perl-Dist-Strawberry [...]
From: Beanux <beanux [...]>
Download (untitled) / with headers
text/plain 347b
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 is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to