This repository represents the development code for core components (API/OCSP/CRL).
Sunflower API provides the RESTful API to base X.509 possibilities like issuing and revoking certificates, making CSR, and generating different types of keys. It also provides CRL-files serving and OCSP responder for online certificate status checking.
- Python 3.8+
- Runs well in containers (Dockerfiles are provided) & Kubernetes ready
- First, install Pipenv and dependencies:
pip install --user pipenv
pipenv install
pipenv install --dev
-
Copy the
.env.example
file to.env
and fill in your credentials for PostgreSQL and Celery (consider PostgreSQL and Redis servers are already started and available). -
Activate the environment and run the project by executing
pyton manage.py runserver
command. -
If you want to Celery tasks be able to execute run commands
python -m celery -A core worker -l info
&python -m celery -A core beat -l info
in the separate shells.
Documentation is available online at https://docs.sunflower3455.com/ and in the docs repository.
You can check https://github.com/sunflower-ing/core/releases for the releases and release notes.
If you'd like to contribute to this project please follow the Issues