Shibboleth

De BrapciWiki
Revisão de 18h18min de 14 de julho de 2022 por Renefgj (discussão | contribs) (→‎Shibboleth)
Ir para navegação Ir para pesquisar

Shibboleth

[[1]]

Instalando o Java

apt-get install default-jdk -y
java --version

wget https://shibboleth.net/downloads/identity-provider/4.1.4/shibboleth-identity-provider-4.1.4.tar.gz
tar -xvzf shibboleth-identity-provider-4.1.4.tar.gz
cd shibboleth-identity-provider-4.1.4/bin
./install.sh
chown -R payara /opt/shibboleth-idp

Install

Create a self-signed certificate(SSL).

sudo mkdir /etc/apache2/ssl
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt

APT Install

sudo apt-get install libapache2-mod-shib2

Now set the shibboleth certificate using the following command.

sudo shib-keygen -h localhost
openssl x509 -text -noout -in /etc/shibboleth/sp-cert.pem

Open the shibboleth SP configuration file.

sudo nano /etc/shibboleth/shibboleth2.xml