[ #55823 ] Fix certificate handling regression
Replace some problematic kDebug with qDebug

This is necessary for KF5, but it also caused
touble on some distributions