kb:crypto:creer_ca
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
kb:crypto:creer_ca [2019/10/07 16:06] – [Création de la CA] beu | kb:crypto:creer_ca [2020/01/20 09:35] – beu | ||
---|---|---|---|
Ligne 13: | Ligne 13: | ||
<code bash> | <code bash> | ||
# mkdir certs crl newcerts private csr | # mkdir certs crl newcerts private csr | ||
+ | </ | ||
# chmod 700 private | # chmod 700 private | ||
</ | </ | ||
Ligne 20: | Ligne 21: | ||
<code bash> | <code bash> | ||
# touch index.txt | # touch index.txt | ||
+ | </ | ||
# echo 1000 > serial | # echo 1000 > serial | ||
+ | </ | ||
+ | # echo 0000 > crlnumber | ||
</ | </ | ||
+ | |||
puis on créer le fichier : | puis on créer le fichier : | ||
- | <code openssl | + | <code openssl |
[ ca ] | [ ca ] | ||
# `man ca` | # `man ca` | ||
Ligne 127: | Ligne 132: | ||
keyUsage = critical, nonRepudiation, | keyUsage = critical, nonRepudiation, | ||
extendedKeyUsage = clientAuth, emailProtection | extendedKeyUsage = clientAuth, emailProtection | ||
+ | |||
+ | [ crl_ext ] | ||
+ | authorityKeyIdentifier = keyid: | ||
+ | issuerAltName = issuer:copy | ||
+ | |||
</ | </ | ||
kb/crypto/creer_ca.txt · Dernière modification : 2021/03/30 14:01 de beu