https://github.com/devopsmakers/docker-django-ca
Django CA Running in a Docker Container
https://github.com/devopsmakers/docker-django-ca
Last synced: 5 months ago
JSON representation
Django CA Running in a Docker Container
- Host: GitHub
- URL: https://github.com/devopsmakers/docker-django-ca
- Owner: devopsmakers
- License: unlicense
- Created: 2016-08-31T09:43:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-05T08:52:03.000Z (over 9 years ago)
- Last Synced: 2025-03-01T00:36:05.166Z (10 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-django-ca
Django CA Running in a Docker Container
Please ensure you read the docs for the django-ca project:
https://github.com/mathiasertl/django-ca
http://django-ca.readthedocs.io/
> This is in no way a production ready container'd solution!
> It is intended purely for the purposes of testing and PoC of Django CA.
> It is configured to use sqlite (non-persistent) and, by default, all
> state (certs, CA's...) will be lost on container destruction.
## Usage
I'm making the assumption that you have Docker (Toolbox) running and the
appropriate environment variables set.
To start the container:
```
docker-compose up
```
Create a super user:
```
docker-compose exec django-ca manage.py createsuperuser
```
and complete the questions you are asked. Now login to the admin interface on:
`http://<>:8000/admin`.
Create a CA:
```
docker-compose exec django-ca manage.py init_ca TestCA /C=AT/L=Vienna/O=Example/OU=ExampleUnit/CN=ca.example.com
```