Bug 484241

Summary: kaddressbook doesn't ask for remember a self signed certificates from card/caldav server
Product: [Frameworks and Libraries] frameworks-kio Reporter: Siegfried G <siggi>
Component: HTTPAssignee: KIO Bugs <kio-bugs-null>
Status: ASSIGNED ---    
Severity: normal CC: auxsvr, kdelibs-bugs, nicolas.fella
Priority: NOR    
Version: 6.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Warning Dialog

Description Siegfried G 2024-03-22 12:58:57 UTC
Created attachment 167603 [details]
Warning Dialog

SUMMARY
***
After updating my system (openSUSE Tumbleweed) at 2024/03/20  kaddressbook doesn't ask for remember a self signed certificate from card/cal-dav server. Therefore kaddressbook warns every time  syncing with the card/cal-dav server which I have to accept with a click on the "Fortsetzen".

The same appears on Korganizer.
But kmail works fine and stores the certificate on ksslcertificatemanager
***


STEPS TO REPRODUCE
1. you need a carddav server
2. remove the file ksslcertificatemanager 
3. start a sync with the carddav server


OBSERVED RESULT
warning dialog (see screenshot) appears on every sync (network connection) with the card-dav server

EXPECTED RESULT
a dialog to accept and remember the self signed Certificate from the card-dav server at the first run and then further warning dialogs about the certificate.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSuse tumbleweed (20240320) / KDE 6.0.0/ QT 6.6.2/ Plasma 6.0.2 /Wayland


ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-03-22 19:18:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1592
Comment 2 Nicolas Fella 2024-03-25 10:12:24 UTC
Git commit 738ab58a397ba62e91ab4e32c4013a4d320a43e6 by Nicolas Fella.
Committed on 25/03/2024 at 09:58.
Pushed by nicolasfella into branch 'master'.

[workers/http] Ignore already acknowledged SSL errors

This got lost in the HTTP worker rewrite

M  +9    -1    src/kioworkers/http/http.cpp

https://invent.kde.org/frameworks/kio/-/commit/738ab58a397ba62e91ab4e32c4013a4d320a43e6
Comment 3 Nicolas Fella 2024-03-25 10:12:32 UTC
Git commit 6e7762dee203731981b9bc5c7cebd9d05b27a99e by Nicolas Fella.
Committed on 25/03/2024 at 09:58.
Pushed by nicolasfella into branch 'master'.

[workers/http] Ask user to remember ignoring SSL errors

This got lost in the HTTP worker rewrite

M  +24   -0    src/kioworkers/http/http.cpp

https://invent.kde.org/frameworks/kio/-/commit/6e7762dee203731981b9bc5c7cebd9d05b27a99e