# Gerar nova chave e certificado para o shibboleth

## Guia passo a passo

Seguir o passos abaixo:

#### Esse é o link para o download do script de geração dos certificado para o Shibboleth:

```bash
wget https://svn.cafe.rnp.br/repos/CAFe/scripts/gerar-certificado-shibboleth.sh /tmp/
sudo chmod +x /tmp/gerar-certificado-shibboleth.sh
cd /tmp
sudo ./gerar-certificado-shibboleth.sh
```

Se tudo der certo, o novo certificado será gerado e já gravado no devido diretório.

Após finalizar com sucesso o script o novo certificado foi gravado no seu novo arquivo de metadado, acesse o diretório **/opt/shibboleth-idp/metadata** e copie o arquivo "**idp-metadata.xml**". Esse arquivo deve ser enviado para equipe técnica da CAFe RNP para a atualização na Federação CAFe.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ajuda.rnp.br/cafe/idp-cafe/faq/gerar-nova-chave-e-certificado-para-o-shibboleth.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
