Fix certificates chain
This commit is contained in:
20
README.md
20
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user