diff options
| author | hc <hc@email.ch> | 2024-11-20 12:51:33 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-11-20 12:51:33 +0800 |
| commit | 853b82126baa1e8e408a10f91053c52626ffad29 (patch) | |
| tree | 2fc1de9695810681ba654aab3c2a4867aacc1ac7 /config_files/certificate-authority/config/sign_server_and_client_csrs.ini | |
| parent | b1f88b682624e85b4b743343dfaaeed113b69413 (diff) | |
working
Diffstat (limited to 'config_files/certificate-authority/config/sign_server_and_client_csrs.ini')
| -rw-r--r-- | config_files/certificate-authority/config/sign_server_and_client_csrs.ini | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/config_files/certificate-authority/config/sign_server_and_client_csrs.ini b/config_files/certificate-authority/config/sign_server_and_client_csrs.ini new file mode 100644 index 0000000..0cffc13 --- /dev/null +++ b/config_files/certificate-authority/config/sign_server_and_client_csrs.ini | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | [ ca ] | ||
| 2 | default_ca = CA_default | ||
| 3 | |||
| 4 | [ CA_default ] | ||
| 5 | dir = /opt/certificate-authority/intermediate | ||
| 6 | certs = $dir/certs | ||
| 7 | crl_dir = $dir/crl | ||
| 8 | new_certs_dir = $dir/newcerts | ||
| 9 | database = $dir/index.txt | ||
| 10 | serial = $dir/serial | ||
| 11 | private_key = pkcs11:model=PKCS%2315%20emulated;manufacturer=www.CardContact.de;serial=DENK0104964;token=SmartCard-HSM%20%28UserPIN%29;id=%D6%0E%28%C8%ED%2B%D5%FF%87%6B%88%06%4F%5B%70%1A%E5%F7%B4%99;object=intermediate;type=private | ||
| 12 | certificate = $dir/certs/intermediate.crt | ||
| 13 | default_md = sha512 | ||
| 14 | name_opt = ca_default | ||
| 15 | cert_opt = ca_default | ||
| 16 | default_days = 375 | ||
| 17 | preserve = no | ||
| 18 | policy = policy_loose | ||
| 19 | |||
| 20 | [ policy_loose ] | ||
| 21 | countryName = optional | ||
| 22 | stateOrProvinceName = optional | ||
| 23 | localityName = optional | ||
| 24 | organizationName = optional | ||
| 25 | organizationalUnitName = optional | ||
| 26 | commonName = supplied | ||
| 27 | emailAddress = optional | ||
| 28 | |||
| 29 | [ server_cert ] | ||
| 30 | basicConstraints = CA:FALSE | ||
| 31 | nsCertType = server | ||
| 32 | nsComment = "OpenSSL Generated Server Certificate" | ||
| 33 | subjectKeyIdentifier = hash | ||
| 34 | authorityKeyIdentifier = keyid,issuer:always | ||
| 35 | keyUsage = critical, digitalSignature, keyEncipherment | ||
| 36 | extendedKeyUsage = serverAuth | ||
| 37 | |||
| 38 | [ client_cert ] | ||
| 39 | basicConstraints = CA:FALSE | ||
| 40 | nsCertType = client | ||
| 41 | nsComment = "OpenSSL Generated Client Certificate" | ||
| 42 | subjectKeyIdentifier = hash | ||
| 43 | authorityKeyIdentifier = keyid,issuer:always | ||
| 44 | keyUsage = critical, digitalSignature | ||
| 45 | extendedKeyUsage = clientAuth | ||
