NAME

ca-bundle-for-firefox - generate the ca-bundle.crt for the current firefox instance

VERSION

Version 1.42

USAGE

$ ca-bundle-for-firefox >/etc/pki/tls/certs/ca-bundle.crt
$ ca-bundle-for-firefox --file current.crt
$ ca-bundle-for-firefox --binary=/path/to/old/firefox --file old.crt
$ diff -Naur old.crt current.crt
$ ca-bundle-for-firefox --issuer-organization --trusted-only --profile-name default
$ ca-bundle-for-firefox --issuer-organization --trusted-only --default-profile
$ ca-bundle-for-firefox -dit

DESCRIPTION

This program is intended to generate the ca-bundle.crt file from the Certificate Authorities maintained in firefox.

By default, the only firefox version that may be used will be present in the PATH environment variable. However, the user may specify a different path with the --binary parameter.

REQUIRED ARGUMENTS

None

OPTIONS

Option names can be abbreviated to uniqueness and can be stated with singe or double dashes, and option values can be separated from the option name by a space or '=' (as with Getopt::Long). Option names are also case- sensitive.

  • --help - This page.

  • --binary - Use this firefox binary instead of the default firefox instance

  • --default-profile - Use the certificate database from the default profile

  • --issuer-organization - Print the Issuer Organisation as well as the Display Name in the comment line. The Issuer Organisation is used in Firefox's Certificate Manager.

  • --trusted-only - Only output certificates that are trusted in the current profile

  • --profile-name - Use the certificate database for a particular profile

  • --file - Write the Certificate Authority bundle out to this file

CONFIGURATION

ca-bundle-for-firefox requires no configuration files or environment variables.

DEPENDENCIES

ca-bundle-for-firefox requires the following non-core Perl modules

DIAGNOSTICS

None.

INCOMPATIBILITIES

None known.

EXIT STATUS

This program will exit with a zero after successfully completing.

BUGS AND LIMITATIONS

To report a bug, or view the current list of bugs, please visit https://github.com/david-dick/firefox-marionette/issues

AUTHOR

David Dick <ddick@cpan.org>

LICENSE AND COPYRIGHT

Copyright (c) 2023, David Dick <ddick@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See "perlartistic" in perlartistic.

DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.