2017 © Pedro PelĂĄez
 

simplesamlphp-module simplesamlphp-module-idp_installer

A SimpleSAMLphp module for pre-installing an IdP.

image

rediris-es/simplesamlphp-module-idp_installer

A SimpleSAMLphp module for pre-installing an IdP.

  • Monday, July 30, 2018
  • by lonoak
  • Repository
  • 5 Watchers
  • 0 Stars
  • 111 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 4 Open issues
  • 17 Versions
  • 0 % Grown

The README.md

IdP installer module

The IdP installer module provides a single authentication module:, (*1)

  • IdP installer module: pre-configures a basic simpleSAMLphp identity provider.

This module creates a basic configuration for a SAML2int IdP., (*2)

This module is compatible for Windows versions. For more details: https://wiki.rediris.es/pages/viewpage.action?pageId=23003297, (*3)

Installation

Once you have installed SimpleSAMLphp, installing this module is very simple. Just execute the following command in the root of your SimpleSAMLphp installation:, (*4)

composer.phar require rediris-es/simplesamlphp-module-idpinstaller:dev-master

where dev-master instructs Composer to install the master branch from the Git repository. See the releases available if you want to use a stable version of the module., (*5)

Web server configuration

After installation and assuming SimpleSAMLphp is installed under /var/sso.example.com, you must configure,your Apache server like this:, (*6)

<VirtualHost *:443>
    ServerName sso.example.com
    DocumentRoot /var/www/sso.example.com

    # configuration generated using https://mozilla.github.io/server-side-tls/ssl-config-generator/
    SSLEngine on
    SSLCertificateFile      /path/to/signed_certificate
    SSLCertificateChainFile /path/to/intermediate_certificate
    SSLCertificateKeyFile   /path/to/private/key
    SSLCACertificateFile    /path/to/all_ca_certs

    # modern configuration, tweak to your needs
    SSLProtocol             all -SSLv2 -SSLv3 -TLSv1
    SSLCipherSuite          ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK
    SSLHonorCipherOrder     on

    # HSTS (mod_headers is required) (15768000 seconds = 6 months)
    Header always add Strict-Transport-Security "max-age=15768000"

    Alias / /var/sso.example.com/www

    <Directory /var/sso.example.com/www>
        Options -Indexes FollowSymLinks
        AllowOverride None
        Order deny,allow
        Allow from all
    </Directory>

    <Location />
        Options FollowSymLinks
      AllowOverride None
        Order deny,allow
        Allow from all
    </Location>
</VirtualHost>

Usage

After the module has been installed and the web server configured, the administrator will point his browser to this URL to start the IdP configuration process:, (*7)

https://sso.example.com/module.php/idpinstaller/

Post-install

The installer creates a basic IdP configuration, that needs some further configuration. Depending on the backend to be used, you'll have to also configure the auth sources section to fit your needs., (*8)

In metadata/saml20-idp-hosted.php, authprocs filters are based on the following attributes in the data source: * uid * givenName * email * eduPersonAffiliation, (*9)

Please check link for more information: https://wiki.rediris.es/pages/viewpage.action?pageId=335011, (*10)

TODO: links to LDAP, PDO, CAS documentation in SimpleSAMLphp., (*11)

The Versions

30/07 2018

dev-exampleauth

dev-exampleauth

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

16/07 2018

dev-master

9999999-dev

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

16/07 2018

dev-comentarios

dev-comentarios

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

11/07 2018

dev-development

dev-development

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

25/08 2016

v1.0.13

1.0.13.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

12/08 2016

v1.0.11

1.0.11.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

12/08 2016

v1.0.12

1.0.12.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

12/08 2016

v1.0.10

1.0.10.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

29/05 2016

v1.0.9

1.0.9.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

29/05 2016

v1.0.8

1.0.8.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

20/05 2016

v1.0.7

1.0.7.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

10/05 2016

v1.0.6

1.0.6.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

10/05 2016

v1.0.5

1.0.5.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

10/05 2016

v1.0.3

1.0.3.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

20/04 2016

v1.0.2

1.0.2.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

20/04 2016

v1.0.1

1.0.1.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir

20/04 2016

v1.0

1.0.0.0

A SimpleSAMLphp module for pre-installing an IdP.

  Sources   Download

Apache-2.0

The Requires

 

by PRiSE [Auditoria y Consultoria de privacidad y Seguridad, S.L.]
by José Manuel Macías

installer simplesamlphp idp rediris sir