curl / curl-www

The curl.se website
https://curl.se/
MIT License
101 stars 90 forks source link

add docs link to header of the generated file cacert.pem #374

Closed c33s closed 3 months ago

c33s commented 3 months ago

not sure if it is the right location for this issue.

currently the header of the https://curl.se/ca/cacert.pem file looks like that:

##
## Bundle of CA Root Certificates
##
## Certificate data from Mozilla as of: Tue Jul  2 03:12:04 2024 GMT
##
## This is a bundle of X.509 certificates of public Certificate Authorities
## (CA). These were automatically extracted from Mozilla's root certificates
## file (certdata.txt).  This file can be found in the mozilla source tree:
## https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt
##
## It contains the certificates in PEM format and therefore
## can be directly used with curl / libcurl / php_curl, or with
## an Apache+mod_ssl webserver for SSL client authentication.
## Just configure this file as the SSLCACertificateFile.
##
## Conversion done with mk-ca-bundle.pl version 1.29.
## SHA256: 456ff095dde6dd73354c5c28c73d9c06f53b61a803963414cb91a1d92945cdd3
##

there is only the link to the orgiginal file of mozilla, it would be awesome to also add the link to the info of the file itself. i miss something like:

...
## Conversion done with mk-ca-bundle.pl version 1.29.
## For the current version and more information see https://curl.se/docs/caextract.html
## SHA256: 456ff095dde6dd73354c5c28c73d9c06f53b61a803963414cb91a1d92945cdd3
...

nearly everytime i encounter this file i use the hg.mozilla.org link only to remember, no this file was not created by mozilla. sometimes i remember that the file is generated by the curl team and i have to google around only to remember again that it was curl and where to get the most current version of this file.

so please add the link to your page in the file header, this would help a lot and also promote your page.

bagder commented 3 months ago

A reasonable suggestion indeed!