FAQ - jbarlow-mcafee/opendxl-misp-service-python GitHub Wiki

General FAQ

General

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 to DEBUG 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)
    

Q: 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

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

Q: 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

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