How to Disable Revocation Check for SSTP VPN
Important Notes:
- Disabling the certificate revocation check can expose your VPN connection to security risks, as it will not verify if the VPN server certificate has been revoked.
- Make sure this is a last-resort action if you’re experiencing issues with certificate revocation checks and you understand the potential security implications.
To disable the certificate revocation check for an SSTP (Secure Socket Tunnelling Protocol) VPN on a Windows machine, you can follow these steps:
Method 1: Via Group Policy (For Domain-Joined Machines)
- Open Group Policy Editor:
- Press
Win + R
, typegpedit.msc
, and press Enter.
- Press
- Navigate to the following location:
Computer Configuration
>Administrative Templates
>Network
>SSL Configuration Settings
.
- Disable Revocation Check:
- In the right pane, find the setting Turn off certificate revocation check.
- Double-click the setting and set it to Enabled.
- Apply the Settings:
- Click OK to apply the changes and close the Group Policy Editor.
Method 2: Via Registry Editor (For Non-Domain-Joined Machines)
- Open the Registry Editor:
- Press
Win + R
, typeregedit
, and press Enter.
- Press
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters
- Add a new DWORD value:
- Right-click in the right pane and choose New > DWORD (32-bit) Value.
- Name the new DWORD
NoCertRevocationCheck
.
- Set the Value:
- Double-click the
NoCertRevocationCheck
DWORD and set the value to1
(this disables the revocation check). - Click OK.
- Double-click the
- Restart the SSTP Service:
- You can either restart the computer or restart the SSTP service via the command line:
- Open Command Prompt as an administrator and run the following command:
- You can either restart the computer or restart the SSTP service via the command line:
Method 3: Disable via PowerShell (If Using Windows PowerShell)
- Open PowerShell as Administrator.
- Run the following command to disable the certificate revocation check for SSTP VPN:
- Restart the SSTP Service:
You might also be interested in:
How to setup Secure socket Tunnelling Protocol VPN