Update README.md
Just updating some information and clearing up formattingpull/4/merge
parent
ea01c486be
commit
6549656108
16
README.md
16
README.md
|
@ -1,15 +1,23 @@
|
||||||
# python-csr
|
# python-csr
|
||||||
|
## Purpose
|
||||||
Generate a key, self-signed certificate, and certificate request.
|
Generate a key, self-signed certificate, and certificate request.
|
||||||
|
|
||||||
Usage: csrgen [fqdn]
|
## 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
|
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 <hostname> -s <san0> <san1>
|
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 <hostname> -s <san0> <san1>
|
||||||
|
|
||||||
```
|
```
|
||||||
python csrgen test.test.com -s mushu.test.com pushu.test.com
|
python csrgen test.test.com -s mushu.test.com pushu.test.com
|
||||||
|
|
Loading…
Reference in New Issue