Skip to content

Commit

Permalink
added in space at start of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-m-masood committed Jul 2, 2024
1 parent 6746f11 commit 68ffca6
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,15 @@ The Connectors component will only accept a `jks`(Java KeyStore) certificate.
If you have followed our previous recommendation of generating a TLS certificate using the OpenShift annotation, then you will have a `PKCS #1` certificate which the Connectors component will not accept. For convenience, here are a number of commands that will convert the `PKCS #1` certirficate, generated by OpenShift to `jks` format, that Connectors component accepts:

```bash
#Grab OpenShift generated TLS certificate
# Grab OpenShift generated TLS certificate
kubectl get secret -n camunda camunda-zeebe-gateway -o jsonpath="{.data['tls\.crt']}" | base64 --decode > tls.crt
#Grab OpenShift generated TLS key.
# Grab OpenShift generated TLS key.
kubectl get secret -n camunda camunda-zeebe-gateway -o jsonpath="{.data['tls\.key']}" | base64 --decode > zeebe-key.key
#Convert zeebe Gateway unencrypted TLS key to an encrypted key. You will be prompted to enter a password when running this command. Please note down the password:
# Convert zeebe Gateway unencrypted TLS key to an encrypted key. You will be prompted to enter a password when running this command. Please note down the password:
openssl pkcs8 -topk8 -inform PEM -outform PEM -in ./zeebe-key.key -out ./zeebe-encrypted-key-gen.pem -v2 des3
#Convert PKCS #1 certificate to PKCS #12. Again, you will be prompted to enter password.
# Convert PKCS #1 certificate to PKCS #12. Again, you will be prompted to enter password.
openssl pkcs12 -export -in tls.crt -inkey zeebe-encrypted-key-gen.pem -out zeebe-p12-certificate.p12 -name "certificate"
#Convert PKCS #12 certificate to jks cert.
# Convert PKCS #12 certificate to jks cert.
keytool -importkeystore -srckeystore zeebe-p12-certificate.p12 -srcstoretype pkcs12 -destkeystore keystore.jks
```

Expand Down

0 comments on commit 68ffca6

Please sign in to comment.