Skip to content

Conversation

@nilsding
Copy link
Member

@nilsding nilsding commented Dec 1, 2025

Windows fetches unknown but trusted root CAs on demand from Windows Update. Qt will allow for the on-demand fetching of root CAs until at setCaCertificates/addCaCertificates was called.

As this is done in the setup wizard for handling client SSL certificates, the QSslConfiguration::systemCaCertificates list would not include the newly-fetched certificate just yet.

Fixes #8686

Windows fetches unknown but trusted root CAs on demand from Windows
Update.  Qt will allow for the on-demand fetching of root CAs until at
`setCaCertificates`/`addCaCertificates` was called.

As this is done in the setup wizard for handling client SSL
certificates, the `QSslConfiguration::systemCaCertificates` list would
not include the newly-fetched certificate just yet.

Fixes #8686

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@nilsding nilsding added this to the 4.0.3 milestone Dec 1, 2025
@nilsding nilsding self-assigned this Dec 1, 2025
@nilsding nilsding requested a review from Aiiaiiio as a code owner December 1, 2025 15:30
@nilsding
Copy link
Member Author

nilsding commented Dec 1, 2025

/backport to stable-4.0

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Artifact containing the AppImage: nextcloud-appimage-pr-9160.zip

Digest: sha256:97e1feb9266349460538bbe498e7311c984d3457c3d7c4860d6dfc20752afa1d

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@mgallien mgallien enabled auto-merge December 1, 2025 15:41
@mgallien mgallien merged commit ec14a85 into master Dec 1, 2025
17 of 20 checks passed
@mgallien mgallien deleted the bugfix/8686/rootca-ondemand branch December 1, 2025 16:08
@nilsding nilsding modified the milestones: 4.0.3, 4.1.0 Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Certificate warning on first run on windows 11

3 participants