Allow SSL verification to be disabled with config

Allow SSL verification to be disabled with config. If I understand this right this will need to be scheduled with a cronjob if the expiration framework is wanted?
pull/4877/head
tom564 2019-07-16 10:09:18 +10:00 committed by GitHub
parent a8e66b50aa
commit d88369a7de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ from pymisp import PyMISP, MISPEvent
from datetime import datetime
from dateutil.relativedelta import relativedelta
import re
from keys import misp_url, misp_key
from keys import misp_url, misp_key, misp_verifycert
# pip install pymisp python-dateutil
@ -20,7 +20,7 @@ class misphelper(object):
def __init__(self):
self.misp = PyMISP(url=misp_url,
key=misp_key,
ssl=True,
ssl=misp_verifycert,
out_type="json")
self.taxonomyId = self.searchTaxonomy()