User Tools

Site Tools


en:vpn:renew-cert

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:vpn:renew-cert [2020/01/04 16:45]
hgo
en:vpn:renew-cert [2020/12/05 18:07] (current)
hgo
Line 7: Line 7:
 in `/var/log/openvpn-client.log`, then your certificate has probably expired. in `/var/log/openvpn-client.log`, then your certificate has probably expired.
  
-To check its expiry date, as `root`:+To check its expiry date, as `root` type the command:
 ```sh ```sh
-$ openssl x509 -in /etc/openvpn/keys/user.crt -notext -enddate+$ openssl x509 -in /etc/openvpn/keys/user.crt -noout -enddate
 notAfter=Nov 12 13:42:43 2018 GMT notAfter=Nov 12 13:42:43 2018 GMT
 ``` ```
Line 16: Line 16:
 There are four methods to renew the certificate. There are four methods to renew the certificate.
  
-## Neutrinet app+## 1. Neutrinet app
  
 The [[en:cube:apps-neutrinet|Neutrinet app]] takes care of checking every night whether certificates must be renewed. The [[en:cube:apps-neutrinet|Neutrinet app]] takes care of checking every night whether certificates must be renewed.
Line 22: Line 22:
 ### Install ### Install
  
-Check that the Neutrinet's applications list is installed: +You can either install the app through the admin panel, or with:
-```sh +
-yunohost app listlists +
-``` +
- +
-If the `neutrinet` list doesn't show up, install it with: +
-```sh +
-yunohost app fetchlist -n neutrinet -u https://neutrinet.be/apps.json +
-``` +
- +
-Then, you can eithr install the app through the admin panel, or with:+
 ```sh ```sh
 yunohost app install neutrinet yunohost app install neutrinet
Line 45: Line 35:
 ``` ```
  
-## From a cube+## 2. From a cube
  
 If the Neutrinet app is already installed, you can force the certificates verification: If the Neutrinet app is already installed, you can force the certificates verification:
Line 53: Line 43:
 ``` ```
  
-## From the renew_cert script+## 3. From the renew_cert script
  
 Clone the following git repository, either on your cube or your own computer: Clone the following git repository, either on your cube or your own computer:
Line 116: Line 106:
 Normaly, the `tun0` interface should appear in the list. Normaly, the `tun0` interface should appear in the list.
  
-## From user.neutrinet.be+## 4. From user.neutrinet.be
  
 This method sometimes requires some patience because user.neutrinet.be can produce some failures. This method sometimes requires some patience because user.neutrinet.be can produce some failures.
en/vpn/renew-cert.1578152705.txt.gz · Last modified: 2020/01/04 16:45 by hgo