php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #20976 rename openssl.cnf
Submitted: 2002-12-12 17:08 UTC Modified: 2002-12-13 11:41 UTC
From: holliwell at gmx dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.3.0RC3 OS: windows systems
Private report: No CVE-ID: None
 [2002-12-12 17:08 UTC] holliwell at gmx dot net
Hi,

thanks for your efforts to make openssl extension more easy to use. The note in the openssl/README-ssl.txt adresses cleanly the problem with speeddial-links on windows system.
To give more comfort to end-users - ok, renaming in a dos-box works - I suggest to ship this file with an .conf or txt file extension. It doesnt harm, is easy to edit, and will avoid upcoming bug-reports(IMHO). In the tradition to make PHP as easy to use for the end users it would be very kind to rename this file to openssl.conf or openssl.txt. And users who would like to have it named openssl.cnf could easily achieve this by renaming this file through the explorer interface (after editing). 

Regards
Friedhelm Betz

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-13 02:33 UTC] sniper@php.net
Wrong place to report this, try openssl.org instead.

 [2002-12-13 02:37 UTC] sniper@php.net
And you can btw, name it whatever you like, just set an environment variable called "OPENSSL_CONF" with the name.

 [2002-12-13 05:51 UTC] wez@php.net
mysql also has a similar issue with it's my.cnf file, although it will also search for my.ini in certain, not always useful, locations.
 [2002-12-13 06:21 UTC] holliwell at gmx dot net
Hi,
I know the issues from mysql and their *.cnf files.
I don't know how the openssl.cnf is bundeld and my suggestion was _not_ to make PHP search for an opennsl.txt or whatever extension to openssl config file. I was just asking, if it would be possible to rename the shipping openssl.cnf for the reason of easier editing for windows user. I personally have no problems with this issue, I know how to rename or edit and set the env variables:-)

Regards
Friedhelm Betz
 [2002-12-13 11:28 UTC] wez@php.net
This behaviour was chosen as it is the same logic as that used in the openssl command line utility; this is advantageous as it allows "seamless" compatibility with existing openssl installations on all systems.

Changing it just to work around a windows explorer "feature" that is not really a problem (you will only edit the .cnf file once or twice) doesn't seem like enough of a good reason.

 [2002-12-13 11:41 UTC] holliwell at gmx dot net
I agree with your arguments, my one and only concern was to avoid upcoming bug reports about openssl.cnf refered in the docs, because it is not seen as openssl.conf. But forget it, it seems not to be worth to pay attention to.

Regards
Friedhelm Betz
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 04:01:34 2024 UTC