Fix certificates chain

This commit is contained in:
2025-12-06 21:11:50 +01:00
parent 2f8bcfb7f1
commit 0e8d8a6a6b
32 changed files with 72 additions and 33 deletions

View File

@@ -1,2 +1,18 @@
Password : hepl
Truststore password : heplhepl
# Generate a keystore
```bash
keytool -genkeypair -alias <alias> -keyalg RSA -keysize 2048 -keystore <path/to/keystore.p12> -storetype PKCS12 -storepass <password> -validity 365
```
# Export certificate
```bash
keytool -exportcert -alias <alias> -keystore <path/to/keystore.p12> -storetype PKCS12 -storepass hepl -file <path/to/generated/cert.crt>
```
# Import certificate
```bash
keytool -importcert -alias <alias> -file <path/to/cert.crt> -keystore <path/to/keystore.p12> -storetype PKCS12 -storepass <password>
```
# Passwords
- Key store pwd : hepl_keystore
- Trust store pwd : hepl_truststore