User Tools

Site Tools


networking:openvpn_howto

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:openvpn_howto [2020/05/03 00:31]
127.0.0.1 external edit
networking:openvpn_howto [2022/03/16 09:39] (current)
Line 28: Line 28:
  
 ==== 1.3. TLS auth ==== ==== 1.3. TLS auth ====
-  openvpn --genkey --secret ta.key+  openvpn --genkey secret ta.key
  
 ===== 2. Nastavení serveru (Linux) ===== ===== 2. Nastavení serveru (Linux) =====
Line 152: Line 152:
   </tls-auth>   </tls-auth>
  
-===== 4. Zneplatnění certifikátu =====+===== 4. Výpis zneplatněných certifikátů ===== 
 +  grep "^R" /etc/openvpn/<nazevfirmy>/pki/index.txt 
 + 
 +===== 5. Zneplatnění certifikátu =====
   ./easyrsa revoke <jmenoklienta>   ./easyrsa revoke <jmenoklienta>
-  ./easyrsa gen-crl+  EASYRSA_CRL_DAYS=3650 ./easyrsa gen-crl
  
 + přidat do konfiguráku serveru: + přidat do konfiguráku serveru:
networking/openvpn_howto.1588458661.txt.gz · Last modified: 2022/03/16 09:38 (external edit)