locert

Simple cert generator for local development

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.6
License BSD 3-Clause
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:25

Authors

  • vandot

Installation

nimble install locert
choosenim install locert
git clone https://github.com/vandot/locert

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
locert - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.6 No
https://github.com/vandot/nim-sudo#head - No

Source

Repository https://github.com/vandot/locert
Homepage https://github.com/vandot/locert
Registry Source nimble_official

README

locert

locert is a simple cert generator for local development.

It's a heavilly opiniated certificate generator.

It is designed to generate and install CA and certificate for dev.lo and *.dev.lo.

It relies on openssl to be installed on the system and exposed in the PATH.

In combination with lodns provides easy setup for testing application with https enabled.

To enable support for custom CA in Firefox on Windows and MacOS per official document inside about:config set security.enterprise_roots.enabled to true.

Note: current implementaion doesn't work with Firefox on Linux, implementation planned in the future.

Installation

Download correct binary from the latest release and place it somewhere in the PATH.

Or nimble install locert

Configuration

locert comes preconfigured for all supported platforms.

Install

On MacOS and Linux it will ask for sudo password

locert install

On Windows inside elevated Powershell

locert.exe install

And restart browser.

Certificate and key will be generated inside current directory.

Uninstallation

On MacOS and Linux run

locert uninstall

On Windows run inside elevated command prompt or Powershell

locert.exe uninstall

and remove the binary.

License

BSD 3-Clause License