-
Notifications
You must be signed in to change notification settings - Fork 0
- I am having trouble running the samples, what can I do to debug them?
- I receive an error similar to the following, "
Error: hostname '192.168.130.130' doesn't match 'themisptestserver' (0)
", when attempting to invoke MISP via DXL - I receive an error similar to the following, "
Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) (0)
", when attempting to invoke MISP via DXL
Q: I am having trouble running the samples, what can I do to debug them?
A: The following steps are generally useful for debugging the samples:
Ensure the prerequisites for the MISP DXL Python service have been met.
Switch from
ERROR
toDEBUG
logging in the samples as shown below:# Configure local logger logging.getLogger().setLevel(logging.ERROR)Change to:
# Configure local logger logging.getLogger().setLevel(logging.DEBUG)
A: This occurs when the
host
specified in the service configuration file does not match the hostname in the MISP server's certificate.The following page provides information about validating the MISP server's certificate:
https://opendxl.github.io/opendxl-misp-service-python/pydoc/mispcertverification.html
A: This occurs when the CA bundle as specified in the service configuration file does not contain the certificate for the CA that signed the MISP server's certificate.
The following page provides information about validating the MISP server's certificate:
https://opendxl.github.io/opendxl-misp-service-python/pydoc/mispcertverification.html
MISP DXL Python Service
Documentation
-
Release Documentation
- (Steps to install, configure, and run the service)
-
Docker Support
- (Steps to run the service in a Docker container)
Service Methods
Examples