Mudanças entre as edições de "Shibboleth"

De BrapciWiki
Ir para navegação Ir para pesquisar
Linha 32: Linha 32:
  
 
=IdP=
 
=IdP=
* [https://cafe.sede.embrapa.br/idp/shibboleth]
+
* [https://cafe.sede.embrapa.br/idp/shibboleth Embrapa]
* [https://idp.fiocruz.br/idp/shibboleth]
+
* [https://idp.fiocruz.br/idp/shibboleth Fiocruz]
  
* [https://met.refeds.org/]
+
* [https://met.refeds.org/ Search IdP]

Edição das 21h12min de 11 de agosto de 2022

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


IdP