TestAuthority Save

Simple certificate authority for development written in C#. Allows issue of SSL certificates, including wildcard certificates

Project README

TestAuthority

Provides an easy way to issue SSL certificate(PFX,PEM) for a specific host. Contains tools for conversion to/from PEM format from/to PFX (PKCS12)

Quickstart

Requirements

To start Certificate Authority
dotnet TestAuthority.dll

To start project in docker container

docker run -p 5000:80 -d nomail/test-authority:latest

or

docker run \
-p 5000:80 \
-v /usr/share/test-authority:/usr/share/test-authority \
-e CrlSettings__CrlDistributionPoints__0=http://example.com/root.crl \
-e CrlSettings__CrlDistributionPoints__0=http://example.com/root1.crl \
-d \
 nomail/test-authority:latest

Usage

Issue certificate for example.com

http://localhost:5000/api/certificate?commonName=test-certificate&hostname=example.com&ipaddress=10.10.1.10&format=pem

Get root certificate

http://localhost:5000/api/certificate/root

Get dummy CRL file

http://localhost:5000/api/crl

Docker

https://hub.docker.com/r/nomail/test-authority/

Swagger enabled (WebUI)

You can use swagger UI for simple and explicit certificate issue.

http://localhost:5000

Open Source Agenda is not affiliated with "TestAuthority" Project. README Source: nomailme/TestAuthority
Stars
37
Open Issues
0
Last Commit
1 month ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating