diff options
authorLeena Miettinen <>2018-09-24 12:55:42 +0200
committerLeena Miettinen <>2018-10-04 13:26:50 +0000
commit04aeffbe8f6d452529671205fa2ded43103e1a46 (patch)
parent18ec0a8b0991855f4576c2993832f9da41d97766 (diff)
Doc: Describe behavior of QSslConfiguration::caCertificates() on iOS
In iOS, the system certificates cannot be accessed, so this function will return an empty list for the default configuration. Task-number: QTBUG-60407 Change-Id: I0d691a0dd5e6367594e71c7ebccfbdc866d4a3f0 Reviewed-by: Edward Welbourne <> Reviewed-by: Andy Shaw <>
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp
index 46df181496..52ddf8bb88 100644
--- a/src/network/ssl/qsslconfiguration.cpp
+++ b/src/network/ssl/qsslconfiguration.cpp
@@ -641,6 +641,10 @@ QList<QSslCertificate> QSslConfiguration::caCertificates() const
The CA certificate database is used by the socket during the
handshake phase to validate the peer's certificate.
+ \note The default configuration uses the system CA certificate database. If
+ that is not available (as is commonly the case on iOS), the default database
+ is empty.
\sa caCertificates()
void QSslConfiguration::setCaCertificates(const QList<QSslCertificate> &certificates)