@@ -61,6 +61,16 @@ except:
61 from sys import exit
61 from sys import exit
64+# check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed.
65+# They are needed for SSL connection without trouble, see #298
67+ import OpenSSL.SSL # NOQA
68+ import ndg.httpsclient # NOQA
71+ logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
72+ "Some HTTPS connections will failed")
65logger = logger.getChild('webapp')
75logger = logger.getChild('webapp')