Updating README.md

pull/10/head
Cotton 2017-08-09 22:28:02 -07:00
parent b8a6efaf4f
commit 33ad7bbd5c
1 changed files with 10 additions and 3 deletions

View File

@ -15,14 +15,14 @@ The following modules are required:
I've included a setup.py that will install these dependencies if you run:
```
python setup.py install`
python setup.py install
```
## Usage
csrgen [fqdn]
```
python csrgen test.test.com
python csrgen -n test.test.com
```
When more than one hostname is provided, a SAN (Subject Alternate Name)
@ -31,5 +31,12 @@ certificate and request are generated. This can be acheived by adding a -s.
csrgen <hostname> -s <san0> <san1>
```
python csrgen test.test.com -s mushu.test.com pushu.test.com
python csrgen -n test.test.com -s mushu.test.com pushu.test.com
```
# TODO
- Consolidate Python 2.7 & 3.5
- For CLI (not -f), ensure a -n is provided or "fail" gracefully.
- Have the C, ST, L, O, OU stored in a .conf file and ask if
these are the settings the user wants to use before running.
- Turn this into a Class.