Jak unieważnić certyfikat użytkownika OpenVPN (easy-rsa): revoke-full, plik crl.pem i restart serwera.
1) Navigate to /etc/openvpn/easy-rsa
cd /etc/openvpn/easy-rsa
2) run . ./vars
. ./vars
3) revoke the certificate
./revoke-full CertificateName
4) Move crl.pem located in keys directory to the OpenVpn’s directory
mv /etc/openvpn/easy-rsa/keys/crl.pem /etc/openvpn/
5) make sure the certificate is revoked – check index.txt in keys, there should be a “R” in the first column right next to revoked certificate
nano /etc/openvpn/easy-rsa/keys/index.txt
6) restart or stop & start the OpenVPN server for immediate effect
/etc/init.d/openvpn stop
/etc/init.d/openvpn start
Polecane
Linki partnerskie – za zakup przez nie mogę otrzymać prowizję.
Polecany sprzęt
- WD Elements Portable 2TB USB 3.0 Czarnyx-kom.pl ↗
- Silver Monkey M70 Wireless Comfort Mouse Black Silentx-kom.pl ↗
- Sandisk 128GB Dual Go USB Type-C 150MB/sx-kom.pl ↗
- HP 250R G10 Core 5-120U/32GB/1TB/Win11PXal.to ↗
- Apple iPhone 18 Pro 256GB burgundx-kom.pl ↗
Linki partnerskie programu SalesMasters (x-kom) – za zakup przez nie mogę otrzymać prowizję.




