We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 671ce63 commit 4b9898bCopy full SHA for 4b9898b
src/core/auth/qgsauthcertutils.cpp
@@ -1331,6 +1331,16 @@ QList<QSslError> QgsAuthCertUtils::validateCertChain( const QList<QSslCertificat
1331
QStringList QgsAuthCertUtils::validatePKIBundle( QgsPkiBundle &bundle, bool useIntermediates, bool trustRootCa )
1332
{
1333
QStringList errors;
1334
+ if ( bundle.clientCert().isNull() )
1335
+ errors << QObject::tr( "Client certificate is NULL." );
1336
+
1337
+ if ( bundle.clientKey().isNull() )
1338
+ errors << QObject::tr( "Client certificate key is NULL." );
1339
1340
+ // immediately bail out if cert or key is NULL
1341
+ if ( !errors.isEmpty() )
1342
+ return errors;
1343
1344
QList<QSslError> sslErrors;
1345
if ( useIntermediates )
1346
0 commit comments