Outils pour utilisateurs

Outils du site


fr:vpn:renew-cert

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
fr:vpn:renew-cert [2020/11/29 19:07] – [3. Via le script renew_cert] harpo-bzhfr:vpn:renew-cert [2022/07/22 13:15] (Version actuelle) – modification externe 127.0.0.1
Ligne 11: Ligne 11:
  
 ```sh ```sh
-openssl x509 -in /etc/openvpn/keys/user.crt -enddate+openssl x509 -in /etc/openvpn/keys/user.crt -enddate -noout
 ``` ```
  
Ligne 18: Ligne 18:
 ```sh ```sh
 notAfter=Nov 27 13:49:23 2020 GMT notAfter=Nov 27 13:49:23 2020 GMT
------BEGIN CERTIFICATE----- 
-.... 
 ``` ```
 La date affichée après le `noAfter` est la date d'expiration. La date affichée après le `noAfter` est la date d'expiration.
- 
-FIXME la commande suivante avec `-notext` retourne une erreur `Unrecognized flag notext` 
-```sh 
-$ openssl x509 -in /etc/openvpn/keys/user.crt -notext -enddate 
- 
-notAfter=Nov 12 13:42:43 2018 GMT 
-``` 
- 
  
 Il y a quatre méthodes possibles pour renouveler le certificat. Il y a quatre méthodes possibles pour renouveler le certificat.
Ligne 39: Ligne 29:
 ### Installation ### Installation
  
-Vérifiez que vous avez la liste des applications de Neutrinet:+Vous pouvez soit installer l'application via la console d'admin, soit avec:
 ```sh ```sh
-yunohost app list+yunohost app install neutrinet
 ``` ```
 +Un message en rouge s'affiche alors :
  
-Si la liste `neutrinet` n'apparaît pas, installez-la via: +''DANGER! This app is known to be still experimental (if not explicitly not working)! You should probably NOT install it unless you know what you are doingNO SUPPORT will be provided if this app doesn't work or breaks your system… If you are willing to take that risk anyway, type 'Yes, I understand':''
-```sh +
-yunohost app fetchlist -n neutrinet -u https://neutrinet.be/apps.json +
-``` +
-FIXME ATTENTION : la commande est "deprecated" et retourne `error: unrecognized arguments: -n neutrinet -u https://neutrinet.be/apps.json`+
  
-À partir de là, vous pouvez soit installer l'application via la console d'admin, soit avec: +Soyez courageux mais raisonnable. ;-)
-```sh +
-yunohost app install neutrinet +
-```+
  
 ### Mise à jour ### Mise à jour
Ligne 73: Ligne 57:
 ## 3. Via le script renew_cert ## 3. Via le script renew_cert
  
-Clônez le dépôt git suivant, sur votre brique internet ou sur votre ordinateur:+Clônez le dépôt git suivant, sur votre brique internet ou sur votre ordinateur, **dans un dossier qui contient les fichiers du VPN** à savoir *(aut, client.crt, client.key, ca.crt **ou** credentials, user,crt, user.key et ca-server.crt)* :
 ```sh ```sh
 git clone https://git.domainepublic.net/Neutrinet/renew_cert git clone https://git.domainepublic.net/Neutrinet/renew_cert
fr/vpn/renew-cert.1606673241.txt.gz · Dernière modification : 2020/11/29 19:07 de harpo-bzh