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)
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=https://example.com/root.crl \
-e CrlSettings__CrlDistributionPoints__0=https://example.com/root1.crl \
-d \
nomail/test-authority:latest
Issue certificate for example.com
https://localhost:5000/api/certificate?commonName=test-certificate&hostname=example.com&ipaddress=10.10.1.10&format=pem
Get root certificate
https://localhost:5000/api/certificate/root
Get dummy CRL file
https://localhost:5000/api/crl
https://hub.docker.com/r/nomail/test-authority/
You can use swagger UI for simple and explicit certificate issue.
https://localhost:5000