====== Générer une clef SSL ====== francois@portable-asus:~$openssl genrsa -out priv.key 1024 francois@portable-asus:~$ francois@portable-asus:~$openssl req -new -key priv.key -out server.crt -x509 -days 365 You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:FR State or Province Name (full name) [Some-State]:France Locality Name (eg, city) []:Saint-Jeoire Organization Name (eg, company) [Internet Widgits Pty Ltd]:Foue Organizational Unit Name (eg, section) []: Common Name (e.g. server FQDN or YOUR name) []:nas.beafrancois.fr Email Address []: francois@portable-asus:~$