Go to file
VIDALMolinaFrancisco OUD e6cc4b0352 change the default values 2017-07-26 10:21:28 +02:00
README.md Update README.md 2017-03-21 17:56:58 -07:00
csrgen.py change the default values 2017-07-26 10:21:28 +02:00
csrgen35.py changed file name 2016-06-03 19:32:30 -04:00

README.md

python-csr

Purpose

Generate a key, self-signed certificate, and certificate request.

Information

You'll notice there is a csrgen and csrgen35. This corresponds to their respective Python versions.

  • csrgen uses Python 2.7
  • csrgen34 uses Python 3.5

Usage

csrgen [fqdn]

python csrgen test.test.com

When more than one hostname is provided, a SAN (Subject Alternate Name) certificate and request are generated. This can be acheived by adding a -s.

csrgen -s

python csrgen test.test.com -s mushu.test.com pushu.test.com