diff --git a/bin/tools/config.py b/bin/tools/config.py index d4d93271da3..1621a11f9c2 100644 --- a/bin/tools/config.py +++ b/bin/tools/config.py @@ -230,7 +230,7 @@ class configmanager(object): keys = ['language', 'translate_out', 'translate_in', 'debug_mode', 'stop_after_init', 'without_demo', 'netrpc', 'xmlrpc', 'syslog'] - if hasSSL: + if hasSSL and not self.options['secure']: keys.append('secure') for arg in keys: