All Projects → mozilla → Ssl Config Generator

mozilla / Ssl Config Generator

Mozilla SSL Configuration Generator

Projects that are alternatives of or similar to Ssl Config Generator

Portfolio Free Ghost Theme
Simple portfolio theme for Ghost
Stars: ✭ 126 (-41.94%)
Mutual labels:  handlebars
Material Apex
A Material Design Theme for Oracle APEX
Stars: ✭ 161 (-25.81%)
Mutual labels:  handlebars
Gulp Site Generator
A static site generator using Gulp
Stars: ✭ 183 (-15.67%)
Mutual labels:  handlebars
Handlebars Webpack Plugin
Renders your html-template at build time
Stars: ✭ 135 (-37.79%)
Mutual labels:  handlebars
Koa Hbs
Handlebars templates for Koa.js
Stars: ✭ 156 (-28.11%)
Mutual labels:  handlebars
Protocol
A design system for Mozilla websites.
Stars: ✭ 167 (-23.04%)
Mutual labels:  handlebars
Handlebars React
Compile Handlebars templates to React.
Stars: ✭ 122 (-43.78%)
Mutual labels:  handlebars
Gluebert
gluebert.js is a tiny helper lazy loading DOM Elements, StyleSheets and JavaScript files using dynamic import and code splitting
Stars: ✭ 194 (-10.6%)
Mutual labels:  handlebars
42
@rsapkf's linkroll.
Stars: ✭ 1,906 (+778.34%)
Mutual labels:  handlebars
Newman Reporter Htmlextra
A HTML reporter for Postman's Command Line Runner, Newman. Includes Non Aggregated Runs broken down by Iterations, Skipped Tests, Console Logs and the handlebars helpers module for better custom templates.
Stars: ✭ 183 (-15.67%)
Mutual labels:  handlebars
Gulp Hb
A sane Gulp plugin to compile Handlebars templates. Useful as a static site generator.
Stars: ✭ 145 (-33.18%)
Mutual labels:  handlebars
Aeromock
Lightweight mock web application server
Stars: ✭ 152 (-29.95%)
Mutual labels:  handlebars
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (-21.2%)
Mutual labels:  handlebars
Bpmn.io
The bpmn.io website sources.
Stars: ✭ 129 (-40.55%)
Mutual labels:  handlebars
Yarte
Yarte stands for Yet Another Rust Template Engine
Stars: ✭ 189 (-12.9%)
Mutual labels:  handlebars
Nlw3 Discovery Happy
O Happy é um projeto que visa facilitar visitas aos orfanatos próximos a você 💜
Stars: ✭ 126 (-41.94%)
Mutual labels:  handlebars
Handlebars Helpers
Related projects
Stars: ✭ 2,024 (+832.72%)
Mutual labels:  handlebars
Django Static Precompiler
Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.
Stars: ✭ 206 (-5.07%)
Mutual labels:  handlebars
Fizzy Theme
🥤A tasty blogging theme for Ghost.
Stars: ✭ 194 (-10.6%)
Mutual labels:  handlebars
Ramhorns
Fast Mustache template engine implementation in pure Rust.
Stars: ✭ 172 (-20.74%)
Mutual labels:  handlebars

Mozilla SSL Configuration Generator

The Mozilla SSL Configuration Generator is a tool which builds configuration files to help you follow the Mozilla Server Side TLS configuration guidelines.

Installation

$ npm install

Development

Once you've installed, you can simply run:

$ npm run watch

This starts a local webserver that will automatically reload your changes.

Adding new software

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, and
  • src/templates/partials/your-software.hbs, a Handlebars.js template that mirrors your software's configuration

Creating templates

All 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 array
  • minpatchver(minimumver, curver) - true if curver is greater 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 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 ":")}}

Building

To publish to GitHub Pages, simply run:

$ npm run build

Authors

License

  • Mozilla Public License Version 2.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].