« MySQL » : différence entre les versions
Ligne 17 : | Ligne 17 : | ||
* On lance la création de certificat auto-signé : | * On lance la création de certificat auto-signé : | ||
{{ Box Console | objet=openssl req -new -x509 -nodes -days 500 -key | {{ Box Console | objet=openssl req -new -x509 -nodes -days 500 -key ca.key -out ca.crt<br /> | ||
<font color=grey>You are about to be asked to enter information that will be incorporated<br /> | <font color=grey>You are about to be asked to enter information that will be incorporated<br /> | ||
into your certificate request.<br /> | into your certificate request.<br /> | ||
Ligne 26 : | Ligne 26 : | ||
- - - --<br /></font> | - - - --<br /></font> | ||
Country Name (2 letter code) [AU]:FR<br /> | Country Name (2 letter code) [AU]:FR<br /> | ||
State or Province Name (full name) [Some-State]: | State or Province Name (full name) [Some-State]:Paris<br /> | ||
Locality Name (eg, city) []: | Locality Name (eg, city) []:Paris<br /> | ||
Organization Name (eg, company) [Internet Widgits Pty Ltd]:NCad Network<br /> | Organization Name (eg, company) [Internet Widgits Pty Ltd]:NCad Network<br /> | ||
Organizational Unit Name (eg, section) []:Intranet Goulouxiou<br /> | Organizational Unit Name (eg, section) []:Intranet Goulouxiou<br /> | ||
Common Name (e.g. server FQDN or YOUR name) []:10.0.0.47<br /> | Common Name (e.g. server FQDN or YOUR name) []:10.0.0.47<br /> | ||
Email Address []:tech@ncad.fr }} | Email Address []:tech@ncad.fr }} |
Version du 4 février 2014 à 16:18
SSL
Création de la clé privée
- On se place dans le dossier /etc/ssl/private qui contient les clés et certificats privées :
|
|
- On génère la clé privée :
|
|
Cette clé va nous permettre de signer nos propres certificats.
Création du certificat auto-signé
- On lance la création de certificat auto-signé :
|
|