-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
14 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,3 +1,3 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MC4CAQAwBQYDK2VwBCIEIG/VRJdTiyyr1kFqvTqHXZCQi7dWx0USgGaR0KGp0bH2 | ||
-----END PRIVATE KEY----- | ||
-----BEGIN Ed25519 PRIVATE KEY----- | ||
MC4CAQAwBQYDK2VwBCIEIO23h+PSszCu1BdPNn2HnmPexKh9p3HA3QxTOZ3cXQqx | ||
-----END Ed25519 PRIVATE KEY----- |
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,13 +1,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB+zCCAa2gAwIBAgIUXprDD6GXGy8o4SSWTv9YJTGh4fgwBQYDK2VwMHoxCzAJ | ||
MIIB+DCCAaqgAwIBAgIUa7gAfTYxGHeXpbZBr25VR3IlEkAwBQYDK2VwMHoxCzAJ | ||
BgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJh | ||
bmNpc2NvMRkwFwYDVQQKExBDbG91ZEZsYXJlLCBJbmMuMSMwIQYDVQQLExpUZXN0 | ||
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0xOTExMjQwOTQ5MDBaFw0xOTExMjQw | ||
OTU0MDBaMHoxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYD | ||
IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0yMDA1MTYwNjE3MDBaFw0yMDA1MTYw | ||
NjIyMDBaMHoxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYD | ||
VQQHEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBDbG91ZEZsYXJlLCBJbmMuMSMw | ||
IQYDVQQLExpUZXN0IENlcnRpZmljYXRlIEF1dGhvcml0eTAqMAUGAytlcAMhAGFr | ||
Lxc8RHfl6uZiKV+twIGuEyCn0fOCaoUp83OGkNr4o0UwQzAOBgNVHQ8BAf8EBAMC | ||
AQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAdBgNVHQ4EFgQUBW6ujHututTlYhgJldt4 | ||
4hZj7v4wBQYDK2VwA0EAR/HVrKk/aeWynnFNM+yzuV54m1cbSj30UclwixXvWCE6 | ||
9+MaSad+yNXi4UuPJir7VeHMaBRwLaucsrMArao+AQ== | ||
IQYDVQQLExpUZXN0IENlcnRpZmljYXRlIEF1dGhvcml0eTAqMAUGAytlcAMhAFYw | ||
MXENHjM4ubp76CZbd8PNJEc5ElerX/gYhrACB6GNo0IwQDAOBgNVHQ8BAf8EBAMC | ||
AQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUQIiayHREptI7YAr87AMfj8qB | ||
Tl8wBQYDK2VwA0EAnH3WcTatTHQ/jfCjVwsDmB+1SUoUz9mlPuttW+ZgVOAxTaQ3 | ||
pdbTDE0jKRZI/8fjf6BTwkGqodDAfHojdcEUCA== | ||
-----END CERTIFICATE----- |
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,11 +1,20 @@ | ||
1. To generate 5min-rsa.pem and 5min-rsa-key.pem | ||
|
||
``` | ||
$ cfssl gencert -initca ca_csr_rsa.json | cfssljson -bare 5min-rsa | ||
``` | ||
|
||
2. To generate 5min-ecdsa.pem and 5min-ecdsa-key.pem | ||
|
||
``` | ||
$ cfssl gencert -initca ca_csr_ecdsa.json | cfssljson -bare 5min-ecdsa | ||
``` | ||
|
||
The above commands will generate 5min-rsa.csr and 5min-ecdsa.csr as well, but those | ||
files can be ignored. | ||
2. To generate 5min-ed25519.pem and 5min-ed25519-key.pem | ||
|
||
``` | ||
$ cfssl gencert -initca ca_csr_ed25519.json | cfssljson -bare 5min-ed25519 | ||
``` | ||
|
||
The above commands will generate 5min-rsa.csr, 5min-ecdsa.csr 5min-ed25519.csr | ||
accordingly, but those files can be ignored. |
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,6 @@ | ||
{ | ||
"key": { | ||
"algo": "ed25519" | ||
"algo": "ed25519", | ||
"size": 256 | ||
}, | ||
"names": [ | ||
|