-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from devilbox/documentation
Documentation
- Loading branch information
Showing
1 changed file
with
21 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# ca-gen | ||
|
||
Easily create your CA and self-signed certificates. | ||
Easily create your own CA and self-signed certificates. | ||
|
||
CA can be imported into Chrome, Firefox and Internet Explorer for local development. | ||
|
||
## Available Tools | ||
|
||
|
@@ -10,6 +12,12 @@ Easily create your CA and self-signed certificates. | |
|
||
## Create CA | ||
|
||
#### Devilbox example | ||
```bash | ||
$ ca-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n devilbox.org \ | ||
-e [email protected] devilbox-rootCA.key devilbox-rootCA.crt | ||
``` | ||
|
||
#### Usage | ||
```bash | ||
USAGE: ca-gen -n CN [-kdcslouev] <keyfile> <crtfile> | ||
|
@@ -35,12 +43,6 @@ Required parameter | |
<crtfile> Path to output cert file | ||
``` | ||
|
||
#### Devilbox example | ||
```bash | ||
$ ca-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n devilbox.org \ | ||
-e [email protected] devilbox-rootCA.key devilbox-rootCA.crt | ||
``` | ||
|
||
#### Example output | ||
```bash | ||
Certificate: | ||
|
@@ -101,36 +103,23 @@ Certificate: | |
4d:dd:0a:02:11:21:8b:98:db:24:36:86:b1:b3:ce:57:5e:34: | ||
ed:4f:0e:64:88:47:ea:f5:51:ba:a5:04:b8:b5:98:e4:4e:33: | ||
c1:17:0f:0e | ||
-----BEGIN CERTIFICATE----- | ||
MIIEPjCCAyagAwIBAgIJAOOhwK1m45+uMA0GCSqGSIb3DQEBCwUAMIGzMQswCQYD | ||
VQQGEwJERTEPMA0GA1UEC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iG9w0BAQsFAAOCAQEAO+e1D8p6dPmTwllF+YCxa8Ui85PH32Wg+Tfi0KYV | ||
Vk8ZYZ3kbbSI2IxAbedjA4lNBnNqxYvOO6v5j8nn/KYTiP9VIwPVF+RMOL+9bGLw | ||
Fg4/2WSDCfU4OZtMZDPGnKRxh5gZxETvgmDcE49uXgulIrEuJpPPIds7fOKdXBXb | ||
X61pW2b18FV1tcKttFZ3r0qNZGHB2fBKBAlhF5jXGsXnQU6ZrzqGysRj+BpVxlfB | ||
OEDeeqiaeromOYvMV9uhgOzs7S9/X0NBtTiiOojI90aD4i87ZK8kpeGvTd0KAhEh | ||
i5jbJDaGsbPOV1407U8OZIhH6vVRuqUEuLWY5E4zwRcPDg== | ||
-----END CERTIFICATE----- | ||
``` | ||
|
||
|
||
## Create certificate | ||
|
||
#### Devilbox example | ||
```bash | ||
$ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox \ | ||
-n project.loc -e [email protected] \ | ||
-a '*.project.loc,*.www.project.loc' \ | ||
devilbox-rootCA.key \ | ||
devilbox-rootCA.crt \ | ||
project.loc.key \ | ||
project.loc.csr \ | ||
project.loc.crt | ||
``` | ||
|
||
#### Usage | ||
```bash | ||
USAGE: cert-gen -n CN [-kdcsloueav] <ca-key> <ca-crt> <key> <csr> <crt> | ||
|
@@ -160,18 +149,6 @@ Required parameter | |
<crt> Path to output certificate crt file | ||
``` | ||
|
||
#### Devilbox example | ||
```bash | ||
$ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox \ | ||
-n project.loc -e [email protected] \ | ||
-a '*.project.loc,*.www.project.loc' \ | ||
devilbox-rootCA.key \ | ||
devilbox-rootCA.crt \ | ||
project.loc.key \ | ||
project.loc.csr \ | ||
project.loc.crt | ||
``` | ||
|
||
#### Example output | ||
```bash | ||
Certificate: | ||
|