pfsense:certificates:revoke_certificate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:certificates:revoke_certificate [2021/02/18 17:59] – peter | pfsense:certificates:revoke_certificate [2021/02/19 10:08] (current) – [Checking the logs] peter | ||
---|---|---|---|
Line 85: | Line 85: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
Navigate to **System -> Cert Manager -> Certificates**. | Navigate to **System -> Cert Manager -> Certificates**. | ||
{{: | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP alert> | ||
+ | **ALERT: | ||
+ | |||
+ | Even if the certificate is deleted from the from revocation list, but the certificate is still in the certificate database, the user will still be able to connect! | ||
+ | |||
+ | The Revocation Lists has to be enabled and configured. | ||
+ | |||
+ | </ | ||
+ | |||
---- | ---- | ||
+ | |||
+ | ===== Add the Revocation list to the VPN Server ===== | ||
+ | |||
+ | Navigate to **VPN -> OpenVPN -> Servers**. | ||
+ | |||
+ | * Click the Pencil Icon to edit. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In **Cryptographic Settings**: | ||
+ | |||
+ | * Peer Certificate Revocation list: **Select the Revocation list to use**. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * Click **Save**. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Test ===== | ||
+ | |||
+ | Try to connect using the VPN client. | ||
+ | |||
+ | This should fails. | ||
+ | |||
+ | ==== Checking the logs ==== | ||
+ | |||
+ | Navigate to **Status -> System Logs -> OpenVPN**. | ||
+ | |||
+ | < | ||
+ | ... | ||
+ | Feb 19 09:46:24 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:46:24 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:46:24 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:46:24 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:46:24 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:47:01 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:47:01 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:47:01 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:47:01 openvpn 2000 192.168.1.102: | ||
+ | Feb 19 09:47:01 openvpn 2000 192.168.1.102: | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** The log shows the certificate verification failed due to certificate revoked | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | <WRAP alert> | ||
+ | **ALERT: | ||
+ | |||
+ | Deleting certificates will not disable VPN connectivity. | ||
+ | |||
+ | The Revocation Lists has to be enabled and configured. | ||
+ | |||
+ | Even if the certificate is deleted from the from revocation list, but the certificate is still in the certificate database, the user will still be able to connect! | ||
+ | |||
+ | </ | ||
pfsense/certificates/revoke_certificate.1613671147.txt.gz · Last modified: 2021/02/18 17:59 by peter