python version of gen-csr (Ruby version available at github.com/bond/gen-csr).
Can be installed from PyPi: pip install csrtool
First domain is used as Common-name in addition to DNS-name: csr --org MyOrg my.org www.my-org
For more help: csr --help
Alternate IP-addresses are supported from version 0.0.8, by using syntax "ip:10.0.0.1"
To test the development version use command in repository dir: pip install -e $(pwd)
Pull requests are welcome :)
Uploading package to PyPi
- Build package for upload:
python setup.py bdist_wheel
- Upload package:
twine upload dist/package-version.whl