The tutorial help you create _Creating a Self-Signed Certificate_.
Firefox required the certificate to be signed by authorized authority.
In order to avoid the error you got, you can add the certificate as authorized authority.
Here you can find how to do it (with updates to up-to-date version of Firefox):
* Open Firefox
* Preferences
* Advanced
* Certificates
* View Certificate
* Authorities
* Import
* Provide the certificate