certificate authority managment
please refer to Github Container Registry: cert-auth docker image
docker pull ghcr.io/ildug/cert-auth:<VERSION>
You can choose two solution:
- A. create a new root certificate and an empty PKI
- B. use an existing root Authority (crt and key), importing them.
Create a folder named PKI
. where the Infrastructure will be built.
In your folder run the container and execute the aplication.
# on MacOs
docker run -it --rm -v $(pwd)/PKI:/PKI ghcr.io/ildug/cert-auth:<VERSION>
# on Windows
docker run -it --rm -v ${pwd}/PKI:/PKI ghcr.io/ildug/cert-auth:<VERSION>
Below the common commands.
- create a folder named
PKI
. where the Infrastructure will be built - create a folder named
import
and place your existing root certificate (with .crt extension) and the related private key (with .key extension). Please no put other files into it.
run these command:
# on MacOs
docker run -it --rm -v $(pwd)/PKI:/PKI -v $(pwd)/import:/import ghcr.io/ildug/cert-auth:<VERSION>
By default application disply help message. In order to run properly, add selected command at previous one:
create the PKI infrastructure. All files into PKI directory will be removed.
create the PKI infrastructure and add your certificate and key. All files into PKI directory will be removed.
please, explore all possible command using --help
option.