Today when developing locally and using Firefox, developers are faced with an issue: Firefox doesn't accept self-signed certificates, even if the certificate authority has been "trusted" (either at system level or at web browser level).
To solve the issue, we should first generate a certificate for the certificate authority (that would be added as "trusted") and then generate certificates that are signed by this CA.