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

De BrapciWiki
Ir para navegação Ir para pesquisar
(Criou página com '= Shibboleth = == Instalando o Java == apt-get install default-jdk -y java --version == == wget https://shibboleth.net/downloads/identity-provider/4.1.4/shibboleth-ident...')
 
Linha 11: Linha 11:
 
  ./install.sh
 
  ./install.sh
 
  chown -R payara /opt/shibboleth-idp
 
  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

Edição das 18h14min de 14 de julho de 2022

Shibboleth

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