supress ssl warnings

pull/701/head
Nick 2021-02-17 15:10:21 -05:00
parent 60ba858527
commit 05d4da46a5
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ from requests.auth import HTTPBasicAuth
import json import json
from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation
from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
if proofpoint_secret == '<proofpoint secret>': if proofpoint_secret == '<proofpoint secret>':
print('Set the proofpoint_secret in keys.py before running. Exiting...') print('Set the proofpoint_secret in keys.py before running. Exiting...')