Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
mozilla-ssl-config-generator
Advanced tools
The Mozilla SSL Configuration Generator is a tool which builds configuration files to help you follow the Mozilla Server Side TLS configuration guidelines.
$ npm install
Once you've installed, you can simply run:
$ npm run watch
This starts a local webserver that will automatically reload your changes.
There are two places that need to be updated in order to add support for a new piece of software:
src/js/configs.js
, which sets the supported features for your software, andsrc/templates/partials/your-software.hbs
, a Handlebars.js template that mirrors your software's configurationAll of the templates are written in Handlebars.js, and so therefore support all of its standard features. This includes if
/else
/unless
conditionals and each
loops, for example. In addition, the configuration generator supports the following helpers:
eq(item, value)
- true
if item
equals value
includes(item, stringOrArray)
- true
if stringOrArray
contains item
join(array, joiner)
- split a array into a string based on joiner
{{{join output.ciphers ":"}}}
last(array)
- returns the last item in the arrayminpatchver(minimumver, curver)
- true
if curver
is greater than or equal to minimumver
, and both versions are the same patch version, e.g. 2.2
{{#if (minpatchver "2.4.3" form.serverVersion)}}
minver(minimumver, curver)
- true
if curver
is greater than or equal to minver
{{#if (minver "1.9.5" form.serverVersion)}}
replace(string, whattoreplace, replacement)
- replaces whatToReplace with replacement
replace(protocol, "TLSv", "TLS ")
reverse(array)
- reverses the order of an array
{{#each (reverse output.protocols)}
sameminorver(version, otherVersion)
- returns true
if version
and otherVersion
are of the same minor version, e.g. 2.2
{{#if (sameminorver "2.4.0" form.serverVersion)}}
split(string, splitter)
- split a string into an array based on splitter
{{#each (split somearray ":")}}
To publish to GitHub Pages, simply run:
$ npm run build
The SSL Config Generator was kept in the mozilla/server-side-tls
repository
prior to mid 2019 at which point it was moved to this dedicated repository. It
was initially created at the end of 2014
and started out supporting Apache HTTP, Nginx and HAProxy.
FAQs
Mozilla SSL Configuration Generator
The npm package mozilla-ssl-config-generator receives a total of 0 weekly downloads. As such, mozilla-ssl-config-generator popularity was classified as not popular.
We found that mozilla-ssl-config-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.