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

De BrapciWiki
Ir para navegação Ir para pesquisar
()
Linha 19: Linha 19:
 
  ./install.sh
 
  ./install.sh
 
  chown -R payara /opt/shibboleth-idp
 
  chown -R payara /opt/shibboleth-idp
 +
 +
== Ubuntu ==
 +
apt install shibd
  
 
== Install ==
 
== Install ==

Edição das 01h05min de 1 de setembro de 2022

Shibboleth

[[1]]

Instalando o Apache2

Mods

shib
proxy
proxy_ajp
ssl

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

Ubuntu

apt install shibd

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