I’m using QT WebEngine to load HTTPS pages and QT’s webengine(Chromium) comes with a collection of Certificate Authorities and I’m able to access google etc without adding any CA. I want to prevent this and manually validate the request.
The purpose of this is, when a user haven’t installed any CA’s he shouldn’t be able to access any https websites.
How can I achieve this? I was thinking of using onCertificateError but it gives only the URL and not the client certificate. I’d need the client certificate to validate it with my CA locally.
Can I use QWebEngineUrlRequestInterceptor?? Any help would be much appreciated! Thanks!