Skip to content

johnny-de/simpleca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleCA is a lightweight, self-hosted docker-based Certificate Authority (CA) web application.
It allows you to easily generate your own Root Certificate or upload an existing one, and then issue Leaf Certificates based on them. These certificates can be used to secure websites and services in a lab or private network environment.

Features

  • Root Certificate: Generate a new Root CA or upload your own.
  • Leaf Certificate: Create end-entity certificates signed by your Root CA.
  • Web-based frontend: Intuitive interface for managing certificates.
  • Simple workflow: Designed for labs and test environments for quick setup.
  • Exportable keys and certs: Download PEM files for direct use in servers and clients.
  • Dockerized deployment: Run SimpleCA easily in any environment using Docker.

How it works

  1. Create or upload a Root Certificate

    • This Root CA will be used to sign all Leaf Certificates.
    • On client devices, you must trust this Root Certificate (import it into the OS/browser trust store).
  2. Generate Leaf Certificates

    • Create Leaf Certificates for your websites or services.
    • Each Leaf Certificate comes with its private key.
  3. Deploy certificates

    • On your web server, configure the Leaf Certificate and private key.
    • Since clients already trust the Root CA, connections to your site will be recognized as secure.

Docker usage

SimpleCA is available as a Docker image on Docker Hub.

Run it with:

docker run -d \
  -p 3000:3000 \
  --name simpleca \
  johnnyde/simpleca

Example usage

  • Import the Root Certificate into your browser or operating system.
  • Configure your web server (e.g., Nginx, Apache, or Dockerized service) with the Leaf Certificate and its key.
  • Access your site via HTTPS — the browser will trust it because the Root CA is known.

Bug reports / feature requests

If you want to report a bug or request a new feature, feel free to open a new issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors