profile = FirefoxProfile(profile_diretory)
profile.set_preference('security.default_personal_cert', 'Select Automatically'
    )
Python Selenium - How to specify a client certificate to use in client SSL authentication