idempotence/idempotence-ca

By idempotence

Updated about 2 months ago

A CA system for managing your cross-signed certificates.

Image
Networking
Security
0

2.0K

idempotence/idempotence-ca repository overview

Code coverage at 30% at the time of writing

View Test Manifest

Overview

Idempotence® written in Go provides a CA system for managing your cross-signed certificates.

Idempotence® CA takes a people first approach to mTLS management. Your connections, form the basis of cross-signing and managing x509 certificates together.

Idempotence® CA is a certificate authority management system making it easier to manage self-signed and cross signed certificates for your internal company or personal use for instance in clusters or signing prescriptions.

It comes with a simple to use REST API, which can be used for application integrations and provides access to the auto-renewed certificate chain given a client certificate.

API Documentation

Idempotence® CA API Documentation (1.2)

Environment Variables

COMPANY_NAME="Example Company"
MAIL_DOMAIN="example.com"
MAILGUN_KEY="[APP-MAIL-GUN-KEY]"
HTTP_SERVER="[APP-BASE-URL-WITHOUT-TRAILING-SLASH]"
JWT_API_SECRET_KEY="[APP-JWT-SECRET]"
ONBOARDING_TOKEN_SECRET_KEY="[APP-ONBOARDING-TOKEN-SECRET-KEY]"
JWT_SECRET_KEY="[APP-JWT-SECRET]"
DATABASE_HOST="[APP-POSTGRES-HOST]"
DATABASE_PORT="5432"
DATABASE_USER="[APP-POSTGRES-USER]"
DATABASE_PASSWORD="[APP-POSTGRES-PASSWORD]"
DATABASE_NAME="[APP-POSTGRES-DATABASE-NAME]"
DATABASE_SSLMODE="disable"

Renewal Cron

The following crontab example will run renewals every 2 hours:

0 */2 * * *	     bash /path/to/renew.sh

Create a cron log directory:

mkdir -p /path/to/cron-logs

Contents of renew.sh:

#!/usr/bin/bash
CONTAINER_ID=`docker ps | grep idempotence_ca-service | awk '{print $1}'`
docker exec -t $CONTAINER_ID ./renewal 2>&1 &> /path/to/cron-logs/renew-$(date +%Y-%m-%d-%H.%M.%S).log

Usage

After starting container use the local interface with the port populated appropriately: http://localhost:8080

Archived Frontend

View Source

Tenative Demo

https://ca.idempotence.io/

Security Notes

The enclosed system within the provided container images, MAY be used with an encrypted Postgres database.

Security Scans

Use the following commands to perform security scans:

docker image rm -f idempotence/idempotence-ca:latest
docker run -it idempotence/idempotence-ca:latest /usr/local/bin/govulncheck -mode binary main

License for Enclosed Container Image ONLY

Copyright (c) 2023-2025 IDEMPOTENCE®

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Support Inquiries

For support and confidential source disclosure inquiries, please reach out to: [email protected]

Tag summary

Content type

Image

Digest

sha256:8eb649dd9

Size

41 MB

Last updated

about 2 months ago

docker pull idempotence/idempotence-ca