---
title: Password Service
slug: kronpam-how-to-guides/password-service
docTags: 
createdAt: 2025-03-18T12:53:10.740Z
---

To use the **Password Service**, a RESTful API request is sent from the application to the service URL. The request is securely transmitted using an SSL certificate. Therefore, a valid certificate must be used. In the example below, a **self-signed certificate** will be created and used when setting up the **Password Service Pod**.

### Create a Signed Certificate

:::BlockQuote
KEYSTORE\_NAME="keystore.p12"
ALIAS\_NAME="kron-alias"
KEYSTORE\_PASSWORD="topsecret"
KEY\_PASSWORD="topsecret"
CERT\_DN="CN=kron-pam-aapm-service,OU=IT,O=Kron,L=Turkiye,ST=Istanbul,C=TR"
VALIDITY\_DAYS=365

keytool -genkeypair \\
&#x20; -alias "$ALIAS\_NAME" \\
&#x20; -keyalg RSA \\
&#x20; -keysize 2048 \\
&#x20; -dname "$CERT\_DN" \\
&#x20; -validity "$VALIDITY\_DAYS" \\
&#x20; -keypass "$KEY\_PASSWORD" \\
&#x20; -keystore "$KEYSTORE\_NAME" \\
&#x20; -storepass "$KEYSTORE\_PASSWORD" \\
&#x20; -storetype PKCS12
:::

