Indian government apps detecting VPN, AdGuard certificate and not allowing to proceed
Please answer the following questions for yourself before submitting a question.
- [x] I am running the latest version
- [x] I checked the knowledge base and found no answer
- [x] I checked to make sure that this issue has not already been filed
Ask a question
-
AdGuard v4.10 (Android) in VPN mode with Ad blocking, Tracking protection, Annoyance blocking, DNS protection (AdGuard DNS), Firewall enabled (all with standard filters)
-
Android v15, OneUI v7.0 on Samsung Galaxy M36 5G
This is pertaining to a few India government-related apps, specifically (though not limited to) -
-
Digilocker (https://play.google.com/store/apps/details?id=com.digilocker.android&hl=en_IN)
-
LIC (https://play.google.com/store/apps/details?id=com.lic.liccustomer&hl=en_IN)
Digilocker
- If AdGuard is enabled when this app is launched, it displays a message "DigiLocker Security Warning - Please turn off VPN before using DigiLocker."
- Even if there is a bypass in AdGuard settings for this app (i.e. Route traffic through AdGuard toggle switch is disabled), this error pops up.
- Of course, if I disable/pause Adguard Protection, I can relaunch the app and it works fine.
LIC
- When this app is lauched, it displays the error "Your device is connected to VPN. For security reasons, you are recommended to stop using VPN.
- After AdGuard is paused and I relaunch the app, a new error is displayed "Invalid Certificate Installation Detected, It is recommended to remove the user / invalid digital certificate to continue using the app."
- When I navigate to the Samsung phone's Security and Privacy > More Security Settings > View Security Certificates > User and see the AdGuard Personal CA; I can only remove it, not disable it.
- If I disable HTTPS Filtering in AdGuard, this issue still comes.
I understand this is probably not an AdGuard issue, but can you provide any pointers as to how I can use this LIC app without having to remove the certificate completely and then reinstall it everytime? I have not used AdGuard in proxy mode.
Also, checking for VPN seems to be standard for many of these India govt apps. It is possible that more restrictions like those imposed by the LIC app may be carried forward to other apps as well. If so, it becomes difficult to manage the situation from usability perspective. Thanks.
We also get this on the PAK identity app too. However pausing is enough to proceed. I think.
Most likely, these applications detect the presence of a tun interface, regardless of whether they are in VPN or not. Unfortunately, we can't help you with this problem.
Now, one of our most important apps BHIM (which is used for P2P payments) is not working because of "Invalid Certificate Installation Detected".
The following have been tried - (a) Pause AdGuard filtering - no effect (b) App bypass added to AdGuard - no effect (c) Disable HTTPS filtering - no effect (d) Going to the user certificate store and deleting the AdGuard CA certificate - app is working
Please note that if this certificate detection is taken up by more banking and finance apps, usage of AdGuard itself will plummet in India.
I understand you may not be able to address this since it is not something you have control over. But is there some workaround apart from deleting the certificate and then installing it again everytime we use such apps like BHIM?
@GammaPiSigma Hello! Thanks for bringing this to our attention. At the moment, it’s not clear whether the BHIM app is reacting specifically to our certificate, or if it flags any user-installed CA certificate.
We’d really appreciate it if you could test this with another user certificate — for example, the CA from Fiddler, a well-known web-debugging proxy by Telerik/Progress.
To check this, please clear your user certificate store, then install the Fiddler CA the same way you installed the AdGuard certificate, and see if the BHIM app shows the same behavior.
I installed the Fiddler CA, removed AdGuard CA and got the same error with the BHIM app. It possible checks for ANY user- installed CA certificate.
I installed the Fiddler CA, removed AdGuard CA and got the same error with the BHIM app. It possible checks for ANY user- installed CA certificate.
Thanks for your feedback. In this case, we recommend contacting the BHIM app’s support team and pointing out that not all user-installed certificates are necessarily dangerous. This issue cannot be resolved by the developers of apps that require CA certificates to function properly.
@PavelParkhomenko If I root my phone, is it possible to avoid this?
There was a way to avoid this by creating a work profile before but now apps have started detecting that they aren't in the primary profile and will refuse to open, so the only option left for me is to remove Adguard's Certificates.
@PavelParkhomenko If I root my phone, is it possible to avoid this?
There was a way to avoid this by creating a work profile before but now apps have started detecting that they aren't in the primary profile and will refuse to open, so the only option left for me is to remove Adguard's Certificates.
This also does not work in Samsung phones with Secure Folder (which I think has separate user certs). BHIM detects that we are in this mode and force-quits.
[@PavelParkhomenko] While I have left a review on Google Play, it is highly unlikely that anything will be done. Would it be possible to have a better process to remove the user cert and reinstall it after using the app? Currently, to make things faster, I retain the .crt file in a secure location and install / uninstall it as required.
Yes, this is frustrating. I used apps like shelter and island to create work profile for my banking apps but they refused as they detected that this isn't the primary profile; same situation with Samsung's secure folder. WTF
Only if Adguard had a better app for Jailbreaked iPhones, I would likely switch to iOS.
Same issue here, It's with Adguard Certificate. Many apps like BHIM, Kotak aren't working. Some just warn and some poorly blocks the usage of app. I wonder how does other VPN apps work? Do they get some sort of registration for their certificate which can be trusted by the device?
It's due RBI guidelines to prevent mitm attack. Due to this I have remove adguard android app from mobile and using private dns route to block ads on my phone