Access the PHX Development Environment with Firefox

Learn how to access the PHX Development Environment using Firefox by configuring a dedicated Firefox profile, importing the C2 CA Root certificate, and setting up a forward proxy.

Projects: c2platform/phx/ansible

Introduction

The Ansible inventory project c2platform/phx/ansible simulates a setup with two environments: a development environment pxd and a “test” environment pxt. The pxt environment allows you to experiment with a GitOps Pipeline. This environment is optional and is currently used for:

  • TODO

These environments are set up as a sandbox. The domain c2platform.org does not resolve to services on the internet but to services accessed through the reverse proxy node pxd-rproxy1 (or pxt-rproxy1).

Create a Firefox Profile

It is strongly recommended to create a dedicated Firefox profile to keep your regular browsing separate from accessing the PHX Development Environment. Follow Mozilla’s guide on Profile Manager - Create, remove or switch Firefox profiles  .

You can access the Firefox Profile Manager in two ways:

  1. Run the command firefox -no-remote -P.
  2. Type about:profiles in the Firefox address bar to create and manage your Firefox profiles.

Once you have your dedicated profile ready, proceed with the following settings.

Configure Network Settings

In your dedicated profile, configure network settings for the gsd or gst environment:

PropertyGSD EnvironmentGST Environment (optional)
HTTP Proxy192.168.60.10TODO
Port10801080
Also use for HTTPS

Import CA Bundle

To prevent continuous TLS/SSL certificate errors when accessing the services, import the C2 root certificate located at ~/git/gitlab/c2/ansible-phx/.ca/c2/c2.crt through the Firefox Certificates settings.

Verify

  1. Navigate to https://c2platform.org/is-alive  . You should see the text “Apache is alive.” If you see this message, your browser is correctly configured to access services from the GIS platform.

  2. Access the landing pages for the gsd and gst environments by navigating to https://gsd.c2platform.org/  and https://gst.c2platform.org/  .

    .

  3. Access the C2 Platform community website at https://c2platform.org/  . Note that this is a local deployment of the website inside pxd-rproxy1 (and pxt-rproxy1).

    .



Last modified May 22, 2025: phx dev environment PHX-1 (98524a6)