Skip to content

vandot/locert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple cert generator for local development

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages