Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Prochaine révisionLes deux révisions suivantes | ||
tutoriel:internet:disque_internet:owncloud:raspi:start [2022/03/01 14:04] – [Première étape] admin | tutoriel:internet:disque_internet:owncloud:raspi:start [2022/03/02 23:58] – [Première étape] admin | ||
---|---|---|---|
Ligne 17: | Ligne 17: | ||
===== Première étape ===== | ===== Première étape ===== | ||
- | <WRAP list-deep> | + | |
- | - **Configuration du réseau, Téléchargement du logiciel** | + | - **Étape 2 : Configurer le réseau |
Generating RSA private key, 1024 bit long modulus (2 primes) | Generating RSA private key, 1024 bit long modulus (2 primes) | ||
.....................+++++ | .....................+++++ | ||
Ligne 28: | Ligne 28: | ||
Enter pass phrase for server.key: | Enter pass phrase for server.key: | ||
writing RSA key | writing RSA key | ||
+ | |||
+ | pi@raspberrypi ~ $ sudo openssl rsa -in server.key -out server.key.insecure | ||
+ | pi@raspberrypi ~ $ sudo openssl req -new -key server.key -out server.csr | ||
+ | pi@raspberrypi ~ $ sudo openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt | ||
+ | pi@raspberrypi ~ $ sudo cp server.crt / | ||
+ | sudo cp server.key / | ||
+ | sudo a2enmod ssl | ||
+ | sudo a2ensite default-ssl</ | ||
+ | <cli prompt=' | ||
+ | Enter pass phrase for server.key: | ||
+ | writing RSA key | ||
+ | Enter pass phrase for server.key: | ||
+ | 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 ' | ||
+ | ----- | ||
+ | Country Name (2 letter code) [AU]: | ||
+ | State or Province Name (full name) [Some-State]: | ||
+ | Locality Name (eg, city) []: | ||
+ | Organization Name (eg, company) [Internet Widgits Pty Ltd]: | ||
+ | Organizational Unit Name (eg, section) []: | ||
+ | Common Name (e.g. server FQDN or YOUR name) []: | ||
+ | Email Address []: | ||
+ | |||
+ | Please enter the following ‘extra’ attributes | ||
+ | to be sent with your certificate request | ||
+ | A challenge password []:pass | ||
+ | An optional company name []: | ||
+ | Signature ok | ||
+ | subj ect=/ | ||
+ | Getting Private key | ||
+ | Enter pass phrase for server.key: | ||
+ | Enabling module ssl. | ||
+ | See / | ||
+ | To activate the new configuration, | ||
+ | service apache2 restart | ||
+ | Enabling site default-ssl. | ||
+ | To activate the new configuration, | ||
+ | service apache2 reload | ||
+ | pi@raspberrypi ~ $ </ | ||
+ | <WRAP list-deep> | ||
+ | - **Étape 2 : Configuration du réseau, Téléchargement du logiciel** :<cli prompt=' | ||
pi@framboise4: | pi@framboise4: | ||
Enter pass phrase for server.key: | Enter pass phrase for server.key: |