OpenWISP

[django-x509] Improve incorrect passphrase error message of _validate_pem

Note: Can be done after task: django-x509 improve error message of _validate_pem is completed Create a new x509 Certificate and Key using openssl: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

Go to project repository: github.com/openwisp/django-x509

Star and fork the project, then clone it and install it locally on your computer using a new python virtual environment.

After successfully setting it up, runserver and add a new CA using the key generated before and enter incorrect password for the passphrase. You'll see an error message. Make sure when this message appears "Incorrect Passphrase" appears with it!

Note: Ensure "Incorrect Password" should not appear with other errors but only with error message at incorrect password! :)

Task tags

  • python
  • django

Students who completed this task

Daniel Wang

Task type

  • code Code
close

2018