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.

Files for firefox-cert-override, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size firefox_cert_override-0.1.1-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size firefox-cert-override-0.1.1.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page