
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
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 valueincludes(item, stringOrArray) - true if stringOrArray contains itemjoin(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 35 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.