# 기존 키 저장소를 사용한 구성

## 이 작업 정보

유효한 SSL 인증서가 있는 키 저장소를 이미 가지고 있는 경우.예를 들어, Talend Administration Center와 함께 사용되는 것.start\_qtcmt.bat 또는 start\_qtcmt.sh 파일을 다음과 같이 구성할 수 있습니다.

## 절차

1. OS에 따라 start\_qtcmt.bat 또는 start\_qtcmt.sh 파일을 엽니다.
2. 다음 내용을 복사하여 붙여넣습니다.
   * 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>
     ```
   * 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>
     ```