Skip to main content Skip to complementary content

Optional additional configuration

Export the Talend Administration Center SSL certificate and create Talend Administration Center credentials.

Exporting the Talend Administration Center SSL certificate

If Talend Administration Center is configured with HTTPS, the continuous deployment Jenkins Job should be configured to include a truststore with the Talend Administration Center certificate imported into it.

Procedure

  1. Run the following command to export the Talend Administration Center certificate/Public Key from the keystore.
    keytool -export \
                         -keystore $KEYSTORE_FILE \
                         -keypass $KEY_PWD \
                         -storepass $STORE_PWD \
                         -alias $ALIAS \
                         -file $TAC_CERTIFICATE \
                         -v

    If Talend Administration Center is configured with HTTPS, the continuous deployment Jenkins Job should be configured to include a truststore with the Talend Administration Center certificate imported into it.

    Here, $KEYSTORE_FILE is the path of the keystore where the private key and certificate/public key are stored. $TAC_CERTIFICATE is the file name of the exported certificate.

  2. Copy the certificate to the Jenkins Server.
  3. Execute the following command to create a truststore with the Talend Administration Center certificate.
    keytool -import \
                         -trustcacerts \
                         -alias $ALIAS \
                         -file $TAC_CERTIFICATE \
                         -keystore $TRUSTSTORE_FILE

    $TAC_CERTIFICATE is the certificate copied from the Talend Administration Center server, $TRUSTSTORE_FILE.

Creating Talend Administration Center credentials in Jenkins

Save the Talend Administration Center credentials in the internal credentials repository in Jenkins.

Most of the MetaServlet APIs request authentication using a Talend Administration Center admin user and password.

Instead of hard-coding this information, the script will leverage the Credentials Binding Plugin to store the encrypted user and password in Jenkins.

Procedure

  1. In Credentials > System > Add domain, add a new Talend domain and click OK.
  2. Add the Talend Administration Center credentials with the Username with password kind.
  3. Add a unique ID and description and update the username and password accordingly.
    It is important to have a unique ID and description to differentiate the credentials in the Jenkins Job.
  4. In Build Environment, select the Use secret text(s) or file(s) check box.
    The Talend Administration Center credentials will be retrieved by the script.
  5. Add a new Binding of type Username and password (separated).

    The environment variables TAC_ADMIN_USER and TAC_ADMIN_PWD are used by the Groovy script.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!