some more improvements, new commands, new simpler ecpect load command, certificate handling for self signed ca plus for client authentication

This commit is contained in:
Marc Wäckerlin
2015-04-24 14:39:40 +00:00
parent c9ec2b6122
commit 04c4c54089
5 changed files with 333 additions and 50 deletions

View File

@@ -225,7 +225,9 @@ class NetworkAccessManager: public QNetworkAccessManager {
}
void sslErrorsLog(const QList<QSslError>& errors) {
Q_FOREACH(const QSslError& error, errors)
log("**** SSL-Error: "+error.errorString());
log("**** SSL-Error: "+error.errorString()+"\n"+
" Certificate: "+error.certificate().toText());
//QNetworkReply* reply(dynamic_cast<QNetworkReply*>(QObject::sender()));
}
void sslErrorsLog(QNetworkReply*, const QList<QSslError>&) {
//log(__PRETTY_FUNCTION__);