Go to file
Gary Waters 1a3075bd9c adding external config file feature, didnt want to be prompted. 2017-01-05 16:39:15 -08:00
README.md adding external config file feature, didnt want to be prompted. 2017-01-05 16:39:15 -08:00
csrgen.py adding external config file feature, didnt want to be prompted. 2017-01-05 16:39:15 -08:00
csrgen35.py changed file name 2016-06-03 19:32:30 -04:00
example-csrgen.conf adding external config file feature, didnt want to be prompted. 2017-01-05 16:39:15 -08:00

README.md

python-csr

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

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 -s.

Usage: csrgen -s

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

When you do not want to be prompted for locality, you can use a config file. This can be acheived by adding -c. (SAN request still work)

Usage: csrgen -c your_config -s

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