diff --git a/agent360/agent360.py b/agent360/agent360.py index 467cb74..560f2b6 100755 --- a/agent360/agent360.py +++ b/agent360/agent360.py @@ -48,7 +48,7 @@ from urllib import urlencode from urllib2 import urlopen, Request, HTTPError -__version__ = '1.2.45' +__version__ = '1.2.46' __FILEABSDIRNAME__ = os.path.dirname(os.path.abspath(__file__)) ini_files = ( @@ -551,7 +551,7 @@ def _data(self): else: try: - ctx = ssl.create_default_context(cadata=certifi.contents()) + ctx = ssl.create_default_context(cafile=certifi.where()) if sys.version_info >= (3,): connection = http.client.HTTPSConnection(api_host, context=ctx, timeout=15) diff --git a/setup.py b/setup.py index 9228932..25da9db 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setuptools.setup( name='agent360', - version='1.2.45', + version='1.2.46', description='360 agent', long_description_content_type='text/markdown', long_description=readme, diff --git a/windows/setup.iss b/windows/setup.iss index 64866a5..e17fc2e 100644 --- a/windows/setup.iss +++ b/windows/setup.iss @@ -1,5 +1,5 @@ #define MyAppName "Agent360" -#define MyAppVersion "1.2.45" +#define MyAppVersion "1.2.46" #define MyAppPublisher "360 Monitoring" #define MyAppURL "https://360monitoring.io/"