Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit fb15042

Browse files
authored
[client] Take in account env variable SSL_VERIFY when instantiate OpenCTIApiClient (#598)
1 parent e165ac1 commit fb15042

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def __init__(self, config: Dict, playbook_compatible=False) -> None:
665665
"OPENCTI_TOKEN", ["opencti", "token"], config
666666
)
667667
self.opencti_ssl_verify = get_config_variable(
668-
"OPENCTI_SSL_VERIFY", ["opencti", "ssl_verify"], config, False, True
668+
"OPENCTI_SSL_VERIFY", ["opencti", "ssl_verify"], config, False, False
669669
)
670670
self.opencti_json_logging = get_config_variable(
671671
"OPENCTI_JSON_LOGGING", ["opencti", "json_logging"], config, False, True
@@ -793,6 +793,7 @@ def __init__(self, config: Dict, playbook_compatible=False) -> None:
793793
self.opencti_url,
794794
self.opencti_token,
795795
self.log_level,
796+
self.opencti_ssl_verify,
796797
json_logging=self.opencti_json_logging,
797798
bundle_send_to_queue=self.bundle_send_to_queue,
798799
)
@@ -802,6 +803,7 @@ def __init__(self, config: Dict, playbook_compatible=False) -> None:
802803
self.opencti_url,
803804
self.opencti_token,
804805
self.log_level,
806+
self.opencti_ssl_verify,
805807
json_logging=self.opencti_json_logging,
806808
bundle_send_to_queue=self.bundle_send_to_queue,
807809
)

0 commit comments

Comments
 (0)