QtWebEngine Chromium certificates
-
Hello everyone!
I would like ask You, how is it possible to add new SSL certificate into nss database during runtime on Linux. Previously, when webengine + chromium was used with openssl, there wasn't a problem. After certificate added, chromium read certificate directly from disk via openssl. After now, webengine and chromium are using nss database. Chromium reads database into memory via libnss. Even if database is updated via certutil, my application needs to be restarted, what is unacceptable.
I have found, that chromium uses internal API (over js) to import certificate or via https://developer.chrome.com/extensions/enterprise_platformKeys#method-importCertificate.
Isn't possible to somehow call it from webengine. What needs to be implemented there?Thanks for any advice.