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.

Source Distribution

firefox-cert-override-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

firefox_cert_override-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file firefox-cert-override-0.1.1.tar.gz.

File metadata

File hashes

Hashes for firefox-cert-override-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a72392bf387c75c30fcf5f61d066ae48cdf8e59760f20b263c31eb1479095d03
MD5 42898a5a8e8d48355a04b41b69926c21
BLAKE2b-256 a025bdf5bfc2554dd8365dbb71ed553bb3ffcef8fc03b6e6e2a1b14fdab484a6

See more details on using hashes here.

File details

Details for the file firefox_cert_override-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for firefox_cert_override-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1b052a1c90d43dc9861c1fb411359be8b901665c90af3604f831f3690aa3fff
MD5 b7a83893c3c51515d9ee643496020e6b
BLAKE2b-256 c503ddeaa4460a840330c2480646d95382b03a756cac7f8a3c0225ac86c48732

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page