# Configuration with an existing keystore

## About this task

If you already have a keystore with a valid SSL certificate. For example, the one used with Talend Administration Center. You can configure the start\_qtcmt.bat or the start\_qtcmt.sh file as follows:

## Procedure

1. Open the start\_qtcmt.bat or the start\_qtcmt.sh file depending on your OS.
2. Copy and paste the following content.
   * For Windows:
     ```
     java ^
      -jar %qtcmt% ^
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.key.alias= <certificate alias in the keystore> ^
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.key.password= <certificate password> ^
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.keystore.location= <keystore file name> ^
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.keystore.password= <keystore password> ^
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.keystore.type= <keystore type: PKCS12 or jks> ^
      --server.port= <https port>
     ```
   * For Linux:
     ```
     java \
      -jar $qtcmt \
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.key.alias= <certificate alias in the keystore> \
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.key.password= <certificate password> \
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.keystore.location= <keystore file name> \
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.keystore.password= <keystore password> \
      --spring.ssl.bundle.jks.qtcmt-ssl-bundle.keystore.type= <keystore type: PKCS12 or jks> \
      --server.port= <https port>
     ```