| 1 |
Certificate reset |
| 2 |
================= |
| 3 |
|
| 4 |
Presentation |
| 5 |
------------ |
| 6 |
|
| 7 |
This plugin allows users to reset their certificate informations. |
| 8 |
|
| 9 |
**Kinematics:** |
| 10 |
|
| 11 |
- User click reset certificate button. |
| 12 |
- He enters his mail. |
| 13 |
- LL::NG looks for the user in users database with given information. |
| 14 |
- An email with a link is sent if user exists. |
| 15 |
- User clicks on the link and he is redirected to the portal. |
| 16 |
- The portal asks him to upload his certificate file (base64, pem |
| 17 |
only). |
| 18 |
- A confirmation mail is sent to confirm the certificate has been |
| 19 |
successfully reset. |
| 20 |
|
| 21 |
|
| 22 |
.. danger:: |
| 23 |
LDAP backend supported only |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
Configuration |
| 28 |
------------- |
| 29 |
|
| 30 |
**Requirements** |
| 31 |
|
| 32 |
- You have to activate the 'certificate reset' button in the login page. |
| 33 |
Go in Manager, ``General Parameters`` » ``Portal`` » ``Customization`` » ``Buttons on login page`` » ``Reset certificate``. |
| 34 |
See :ref:`portal customization<portalcustom-other-parameters>`. |
| 35 |
|
| 36 |
- The SMTP server must be setup. See :doc:`SMTP server setup<smtp>`. |
| 37 |
|
| 38 |
- The register module also must be setup. |
| 39 |
Go in Manager, ``General Parameters`` » ``Authentication parameters`` » ``Register Module`` and choose your module. |
| 40 |
|
| 41 |
|
| 42 |
**Manager Configuration** |
| 43 |
|
| 44 |
Go in Manager, ``General Parameters`` » ``Plugins`` » ``Certificate management``: |
| 45 |
|
| 46 |
- **Mail content:** |
| 47 |
|
| 48 |
- **Certificat reset mail subject**: subject of mail sent when certificate is reset |
| 49 |
- **Certificat reset mail content** (optional): content of mail sent when certificate is reset |
| 50 |
- **Confirmation mail subject**: subject of mail sent when certificate reset is asked |
| 51 |
- **Confirmation mail content** (optional): content of mail sent when certificate is asked |
| 52 |
|
| 53 |
|
| 54 |
.. attention:: |
| 55 |
|
| 56 |
By default, mail contents are empty in order to use templates: |
| 57 |
|
| 58 |
- portal/skins/common/mail_certificateConfirm.tpl |
| 59 |
- portal/skins/common/mail_certificateReset.tpl |
| 60 |
|
| 61 |
If you define custom mail contents in Manager, then templates won't be |
| 62 |
used. |
| 63 |
|
| 64 |
- **Other:** |
| 65 |
|
| 66 |
- **Reset certificate page URL**: URL of certificate reset page (default: [PORTAL]/certificateReset) |
| 67 |
- **Certificate descrition attribute**: attribute where to save certificate description name (Default description) |
| 68 |
- **Certificate hash attribute**: attribute where to store certificate hash (Default userCertificate;binary) |
| 69 |
- **Minimun duration before expiration**: number of days of validity before certificate expires. Default 0. |
| 70 |
|
| 71 |
|
| 72 |
.. danger:: |
| 73 |
.p12 certificates only. |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
.. |image0| image:: /documentation/beta.png |
| 78 |
:width: 100px |