Jeśli masz już magazyn kluczy z ważnym certyfikatem SSL. Na przykład ten używany z Talend Administration Center. Możesz skonfigurować plik start_qtcmt.bat lub start_qtcmt.sh w następujący sposób:
Procedura
Otwórz plik start_qtcmt.bat lub start_qtcmt.sh w zależności od systemu operacyjnego.
Skopiuj i wklej następującą zawartość.
Dla systemu 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>
Dla systemu 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>