Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eumel8/cert-machine
A Python Flask Server to generate and deliver CA signed Client Certificates
https://github.com/eumel8/cert-machine
Last synced: 21 days ago
JSON representation
A Python Flask Server to generate and deliver CA signed Client Certificates
- Host: GitHub
- URL: https://github.com/eumel8/cert-machine
- Owner: eumel8
- Created: 2020-07-20T08:03:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-21T22:19:31.000Z (almost 3 years ago)
- Last Synced: 2024-10-16T08:48:22.453Z (2 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cert-machine
============generate client certs via API
prerequisites
-------------you need your previously generated ca.key and ca.crt. The ca.key has probably a password:
```
kubectl create ns cert-machine
kubectl -n cert-machine create secret generic cert-ca --from-file=ca.key=./ca.key --from-file=ca.crt=./ca.crt
kubectl -n cert-machine create secret generic ca-key-password --from-literal=ca_key_password='xxxx'```
installation
------------```
kubectl -n cert-machine apply -f kubernetes/deployment.yaml
kubectl -n cert-machine apply -f kubernetes/service.yaml
```usage
-----```
curl http://cert-machine/client/new
```or
```
kubectl -n cert-machine run -it busybox --image=eumel8/cert-machine:latest --restart=Never -- curl http://cert-machine/client/new
```