Skip to main content

Tool for generating cert_override.txt for Firefox profiles.

Project description

https://circleci.com/gh/Osmose/firefox-cert-override.svg?style=svg

firefox-cert-override is a Python library and CLI utility for reading and writing cert_override.txt files.

cert_override.txt is located at the root of a Firefox profile directory and stores the per-domain certificate overrides for that profile. When you permanently add an exception for Firefox to trust a certificate for a specific domain, Firefox adds an entry to cert_override.txt, and will read it on startup in the future to load the override again.

Installation

firefox-cert-override requires (read: has only been tested on) Python 3.5.

$ pip install firefox-cert-override

API

There isn’t any documentation for the API (yet), but firefox_cert_override/base.py is where the main functionality lives and is a quick skim.

CLI

The package adds a firefox-cert-override command that takes a list of domain and certificate file path pairs and outputs the contents for a cert_override.txt file with overrides for the given domains. See firefox-cert-override --help for more details.

License

Licensed under the MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
firefox_cert_override-0.1.1-py3-none-any.whl (7.0 kB) Copy SHA256 hash SHA256 Wheel py3
firefox-cert-override-0.1.1.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page