jelix / saml-module

Module for Jelix to authenticate against a SAML server
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Certificate generator #6

Closed laurentj closed 2 years ago

laurentj commented 3 years ago

In the sp configuration we must indicate a certificate and a private key. However generating certificates require knowledge that the user don't have (the use of the openssl command with linux is tricky).

We should then provide a form to generate the certificate. It should contains these fields:

To generate the private key, we should use 4096 for the length and the rsa algorithm.

To generate the certificate we could use the openssl api, or one of the existing PHP library that wraps openssl or else.