csrgen.py is now executable
parent
7070e6836a
commit
8c37818e60
12
README.md
12
README.md
|
@ -19,7 +19,7 @@ python setup.py install
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
csrgen -n [fqdn]
|
./csrgen -n [fqdn]
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: you could always use '-h' in order to get some informations ;)
|
Note: you could always use '-h' in order to get some informations ;)
|
||||||
|
@ -47,8 +47,8 @@ optional arguments:
|
||||||
```
|
```
|
||||||
|
|
||||||
Basic usage would be
|
Basic usage would be
|
||||||
```python
|
```bash
|
||||||
python csrgen -n test.test.com
|
./csrgen -n test.test.com
|
||||||
```
|
```
|
||||||
|
|
||||||
When more than one hostname is provided, a SAN (Subject Alternate Name)
|
When more than one hostname is provided, a SAN (Subject Alternate Name)
|
||||||
|
@ -57,13 +57,13 @@ certificate and request are generated. This can be acheived by adding a -s.
|
||||||
csrgen <hostname> -s <san0> <san1>
|
csrgen <hostname> -s <san0> <san1>
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python csrgen -n test.test.com -s mushu.test.com pushu.test.com
|
./csrgen -n test.test.com -s mushu.test.com pushu.test.com
|
||||||
```
|
```
|
||||||
|
|
||||||
You can pass a yaml file as arguments to pre-fill your CSR values (C, ST, L, O, OU). Basically any attribute defined in the YAML file will be set in the certificate. On exception: if you force the hostname with -n parameter, it will override the 'Hostname' set in YAML file.
|
You can pass a yaml file as arguments to pre-fill your CSR values (C, ST, L, O, OU). Basically any attribute defined in the YAML file will be set in the certificate. On exception: if you force the hostname with -n parameter, it will override the 'Hostname' set in YAML file.
|
||||||
|
|
||||||
```python
|
```bash
|
||||||
python csrgen -f sample.yaml -u csr.yaml
|
./csrgen -f sample.yaml -u csr.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Debug options
|
## Debug options
|
||||||
|
|
Loading…
Reference in New Issue