Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.7.2, 5.12.0 Beta 1
-
debian linux-adm64, yocto embedded armhf
Qt 5.12 LTS Beta Release downloaded and tried example: quicknanobrowser about to use local user cert.just get: 400 Bad Request
No required SSL certificate was senton firefox/chromuim does work
How to use local user cert with QtWebEngine?
How to provide the user cert to QtWebEngine?
local user cert is imported with:
pk12util -d sql:$HOME/.pki/nssdb -i path_and_name_to_PKCS#12_file.p12
and is shown as successful imported with:
certutil -d sql:$HOME/.pki/nssdb -L
debian linux-adm64, yocto embedded armhf Qt 5.12 LTS Beta Release downloaded and tried example: quicknanobrowser about to use local user cert. just get: 400 Bad Request No required SSL certificate was sent on firefox/chromuim does work How to use local user cert with QtWebEngine? How to provide the user cert to QtWebEngine? local user cert is imported with: pk12util -d sql:$HOME/.pki/nssdb -i path_and_name_to_PKCS#12_file.p12 and is shown as successful imported with: certutil -d sql:$HOME/.pki/nssdb -L
Description
as discussed here:
https://bugreports.qt.io/browse/QTBUG-54877
QtWebEngine seems to use the root certificates from the OS, but client certificates are not loaded.
When WebEngine connects to sites which needs client certificate, the error is displayed, "ERR_SSL_CLIENT_AUTH_CERT_NEEDED".
WebEngine uses its own network stack, so QSslConfiguration cannot be used.
Are there any solution for Linux/embedded Linux?
For Windows seems to be a solution now since 5.12.0 Alpha