Giter VIP home page Giter VIP logo

lacri's Introduction

LACRI

lacri is an attempt to bring commonly used features of the openssl tool to a webapp. This makes it easier to generate certificates by clicking buttons instead of reading man pages everytime you need a new cert for personal use (e.g. openvpn, internal https/tls). It also keeps your PKI in a database instead of a file system somewhere.

Create a new account

You can create a new account by simply entering a new username and password into the input fields on the front page. From there you will see a list of your roots, of which you have none to begin with.

Creating an account example

Create a self-signed CA

On the roots page, you can navigate to an existing root, or create a new one by pressing the create button and entering a name. On the root's page you'll find the certificate and key available for download as well as instructions on how to trust the CA (and therefore all domain certificates created under it) on various operating systems (at the moment, only instructions for arch linux exist)

Creating a CA example

Create a domain certificate & key

On a given roots page, you can inspect your domain certificates created for this root, or create a new one by clicking the create button and entering a domain name.

On the certificate page you can find instructions for installing the certificate with nginx, apache2, and more. You can also find the files for download in a table at the bottom.

Creating a domain cert example

Install with nginx

Installing a domain cert with nginx example

Development server with docker-compose

First set up

docker-compose build
docker-compose up
# create tables & such in the db
docker-compose run web ./manage.py migrate
# create dev user
docker-compose run web ./manage.py createsuperuser

If you modify the model fields

docker-compose run web ./manage.py makemigrations
docker-compose run web ./manage.py migrate

If Someone else modified the model fields

docker-compose run web ./manage.py migrate

If you want to clear your data

docker-compose run web ./manage.py flush
docker-compose run web ./manage.py createsuperuser

If you want a json dump of the database

docker-compose run web ./manage.py dumpdata

If you want to play with the database

docker-compose run db psql -h db -U postgres

lacri's People

Contributors

qtip avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

lacri's Issues

Add OS X trust instructions

Add instructions to trust a CA for OS X, both graphically and via the terminal

curl {{ remote_url }} > local.crt
security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain local.crt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.