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

De BrapciWiki
Ir para navegação Ir para pesquisar
Linha 1: Linha 1:
 
= Shibboleth =
 
= Shibboleth =
 +
[[https://medium.com/@winma.15/shibboleth-sp-installation-in-ubuntu-d284b8d850da]]
  
 
== Instalando o Java ==
 
== Instalando o Java ==

Edição das 18h18min de 14 de julho 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