Ajout de cfssl config_server.json

This commit is contained in:
François Pelletier 2022-05-07 23:15:02 -04:00
parent fbaaf35085
commit 3bda8c5800
2 changed files with 57 additions and 0 deletions

3
.gitignore vendored
View file

@ -4,3 +4,6 @@ db.env
/.idea/modules.xml
/.idea/nextcloud-jevalideca-compose.iml
/.idea/vcs.xml
cfssl/ca.csr
cfssl/ca.pem
cfssl/ca-key.pem

54
cfssl/config_server.json Normal file
View file

@ -0,0 +1,54 @@
{
"signing": {
"default": {
"expiry": "8760h"
},
"profiles": {
"intermediate_ca": {
"usages": [
"signing",
"digital signature",
"key encipherment",
"cert sign",
"crl sign",
"server auth",
"client auth"
],
"expiry": "8760h",
"ca_constraint": {
"is_ca": true,
"max_path_len": 0,
"max_path_len_zero": true
}
},
"peer": {
"usages": [
"signing",
"digital signature",
"key encipherment",
"client auth",
"server auth"
],
"expiry": "8760h"
},
"server": {
"usages": [
"signing",
"digital signing",
"key encipherment",
"server auth"
],
"expiry": "8760h"
},
"client": {
"usages": [
"signing",
"digital signature",
"key encipherment",
"client auth"
],
"expiry": "8760h"
}
}
}
}