# Zertifikat und Schlüssel generieren

## Mindeststeuer App

In `Einstellungen` neben dem Feld `DIP Zertifikatsdatei` finden Sie den Knopf `Zertifikat generieren`. Nach dem Klick wird das Zertifikat und der Schlüssel generiert. Speichern Sie bitte beide sicher ab.

Das Zertifikat benötigen Sie zur [Freischaltung](/anleitungen/dip/freischaltung.md)der DIP Massendatenschnittstelle im BZSt online.portal.

## Befehlszeile

```bash
openssl req -newkey rsa-pss -new -nodes -x509 -days 3650 -pkeyopt
rsa_keygen_bits:4096 -sigopt rsa_pss_saltlen:32 -keyout key.pem -out cert.pem
```

{% hint style="info" %}
[OpenSSL](https://openssl-library.org/) wird benötigt.
{% endhint %}

Quelle: Abschnitt 2.4.4 im [Kommunikationshandbuch DIP-\
Standard v2.3](https://www.bzst.de/DE/Service/Portalinformation/Massendaten/DIP/dip.html#js-toc-entry1)


---

# 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://docs.mindeststeuer.app/anleitungen/dip/zertifikat-und-schlussel-generieren.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.
