> For the complete documentation index, see [llms.txt](https://ajuda.rnp.br/diplomas-digitais/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.rnp.br/diplomas-digitais/passo-a-passo/configurar-certificado-em-nuvem-do-serpro-no-rapsign/configurar-certificado-em-nuvem-do-serpro-no-rapsign-manual.md).

# Configurar certificado em nuvem do SERPRO no RAPSign - Manual

Para configurar de forma manual,  siga os passos abaixo:

Dessa forma você deve preencher o formulário, fornecendo os dados da instituição e o SERPRO enviará os dados do ambiente para você inserir no arquivo de configuração (docker compose) do RAPsign.

**Não é necessário** que vocês possuam os dados dos certificados SSL do servidor do seu domínio (*domínio.edu.br ou afins*).

\
**Não é necessário** que os certificados sejam do tipo ICP-Brasil.

**Passo 1.** Preencher o formulário <https://forms.office.com/r/CemZT8trpr> do SERPRO, através do link em questão para cadastrar sua aplicação, vide exemplo:

<figure><img src="https://30362825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB-V5yqZBtdQcJVbpRg%2Fuploads%2FnenuVyyAeQeUet67DfrI%2Fimage.png?alt=media&amp;token=baf1149a-eea2-4656-8055-2a17dd53d281" alt=""><figcaption></figcaption></figure>

**Passo 2.** Aguardar o SERPRO enviar os dados (Client ID, Secret ID e demais dados).

<figure><img src="https://30362825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB-V5yqZBtdQcJVbpRg%2Fuploads%2FqSIloiHQx4LUEHfZcL36%2Fimage.png?alt=media&amp;token=f7a1a833-fbb4-4499-a16b-afba351d4d89" alt=""><figcaption></figcaption></figure>

**Passo 3.** Ao receber os dados, configure as variáveis de ambiente recebidas no e-mail no Docker-compose para habilitar os respectivos provedores em nuvem para assinaturas, o arquivo de configuração deverá ficar dessa forma:

<figure><img src="https://30362825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB-V5yqZBtdQcJVbpRg%2Fuploads%2FwmzHvVdvkP6kRePsbjSg%2Fimage.png?alt=media&amp;token=9cfa6c33-662e-48fd-bf60-1026861dc661" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**IMPORTANTE:**</mark>

API\_URL: **\<url do assinador da instituição, exemplo assinador.rnp.br>**

CLIENT\_ID\_NEOID: **\<informação recebida no e-mail do serpro>**

CLIENT\_SECRET\_NEOID: **\<informação recebida no e-mail serpro>**

CLIENT\_REDIRECT\_NEOID: **\<url do assinador da instituição, exemplo assinador.rnp.br>**

CLIENT\_API\_NEOID: **<[https://psc-neoid.estaleiro.serpro.gov.br/psc/v0/oauth>](https://psc-neoid.estaleiro.serpro.gov.br/psc/v0/oauth>)**

**Passo 4. Reinicie** o container docker do RAPSign.

**Passo 5.** Agora o RapSign poderá ser utilizado com provedores em nuvem. Clique no botão da nuvem acima da listagem de certificados para configurar o certificado digital do assinante.

<figure><img src="https://30362825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB-V5yqZBtdQcJVbpRg%2Fuploads%2F2mi5cYW8vCFONrhb8kTl%2Fimage.png?alt=media&amp;token=c0fb3038-47f1-4332-987d-c01aa738f247" alt=""><figcaption></figcaption></figure>

<figure><img src="https://30362825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB-V5yqZBtdQcJVbpRg%2Fuploads%2FHloJVJ3nTXBnk1f9rUPK%2Fimage.png?alt=media&amp;token=c2d54723-c4d2-4cb5-8d4f-ce783528817d" alt=""><figcaption></figcaption></figure>

**IMPORTANTE:**&#x20;

A utilização do certificado SerproID (<https://serproid.serpro.gov.br/downloads/>) através da instalação do driver desktop local é uma alternativa de contorno que a Serpro sugere para soluções que não suportam certificado em nuvem de forma nativa (o RAPSign já suporta de maneira nativa).

A utilização do driver desktop NÃO É SUPORTADA pelo RAPSign ainda que, eventualmente, funcione para algumas versões específicas de driver e sistema operacional, vide exemplo abaixo.

<figure><img src="https://30362825-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB-V5yqZBtdQcJVbpRg%2Fuploads%2F8nAZxzyZI9j6PzG10JKR%2Fimage.png?alt=media&amp;token=a16ad334-7ef1-4bfd-a150-68e74e5740e4" alt=""><figcaption></figcaption></figure>

Para configurar como auto cadastro, veja a página Configurar certificado em nuvem do SERPRO no RAPSign - Auto Cadastro

<https://ajuda.rnp.br/diplomas-digitais/passo-a-passo/configurar-certificado-em-nuvem-do-serpro-no-rapsign-auto-cadastro>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.rnp.br/diplomas-digitais/passo-a-passo/configurar-certificado-em-nuvem-do-serpro-no-rapsign/configurar-certificado-em-nuvem-do-serpro-no-rapsign-manual.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
