How to make Firefox trust a self-signed certificate?

I'm a web developer working on an app running in Docker on my MacBook. Chrome, Edge and Safari trust the self-signed certificate that has been imported into the Mac's root certificate store and have no security issues, but when I try and access the web app, I'm hit with "Warning: Potential Security Risk Ahead" and the error code...

/kbin logotype
  • All
  • Subscribed
  • Moderated
  • Favorites
  • firefox@fedia.io
  • ethstaker
  • DreamBathrooms
  • khanakhh
  • mdbf
  • InstantRegret
  • magazineikmin
  • GTA5RPClips
  • modclub
  • rosin
  • Youngstown
  • slotface
  • everett
  • kavyap
  • thenastyranch
  • JUstTest
  • ngwrru68w68
  • tacticalgear
  • cubers
  • tester
  • Durango
  • anitta
  • normalnudes
  • osvaldo12
  • cisconetworking
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines