def create_ssl_config(certfile=None, keyfile=None, cafile=None, check_hostname=True, secure=True, ssl_context=None):
    """
    Choose CertificateManager settings
    :param certfile: path of certfile - contains public key
    :param keyfile: path of keyfile - contains private key
    :param cafile: path of cafile - contains public key of other end of connection
    :param check_hostname: boolean corresponding to if client should check hostname of server-submitted certificate
    :param secure: boolean corresponding to if CertificateManager should secure socket; unless specifically desired,
    it is RECOMMENDED this is kept true. If set to false, any certificates provided will be ignored, no wrapping will
    occur if wrapping function is called
    :param ssl_context:
    """
    settings = {"certfile": certfile,
                "keyfile": keyfile,
                "cafile": cafile,
                "check_hostname": check_hostname,
                "secure": secure,
                "ssl_context": ssl_context}
    return settings