--- a/eric6/WebBrowser/SiteInfo/SiteInfoDialog.py Mon Apr 12 18:25:52 2021 +0200 +++ b/eric6/WebBrowser/SiteInfo/SiteInfoDialog.py Mon Apr 12 19:05:23 2021 +0200 @@ -114,9 +114,8 @@ lambda res: self.encodingLabel.setText(res)) # populate the Security tab - if sslInfo: - if SSL: - self.sslWidget.showCertificateChain(sslInfo) + if sslInfo and SSL: + self.sslWidget.showCertificateChain(sslInfo) self.tabWidget.setTabEnabled(2, SSL and bool(sslInfo)) self.securityDetailsButton.setEnabled(SSL and bool(sslInfo))