Installing 3DPassport

This section describes how to install the 3DPassport code.

On Linux, you must sign in as a user with admin rights.

On Windows, you must belong to the Administrators group or have the privileges assigned to the Administrators group.

Important:
  • Starting from R2024x FD01, the embedded TomEE is no longer supported.
  • Starting from R2025x GA, the Embedded Java Development Kit (JDK) is no longer supported.


Before you begin:

Ensure that all 3DPassport prerequisites are installed and running and the database exists, as well as Administrator and working users with the correct rights.

For external TomEE, make sure that you have configured all the ports before starting the installation.

Do not perform the installation as root, but with the dedicated applicative user, for example x3ds that is the user you created as explained in Create Databases and Database Users. Run the TomEE instance with this same x3ds userid. This is usually configurable in the instance configuration file under the variable TOMCAT_USER.

The x3ds userid must own the TomEE instance directory (with its subdirectories, and files).

By default, database user passwords and admin_platform passwords entered during the installation procedure are encrypted, and stored in the appropriate configuration file. An encryption key is generated automatically in:

<3DPassportInstallPath>\win_b64\3dpass.cipher (Windows)

<3DPassportInstallPath>/linux_a64/3dpass.cipher (Linux).

If you are upgrading from the GA or HF of an R2016x or higher release with encrypted installation to R2027x (GA or HF), export the X3DPASS_EKEY_PATH= <full_cipher key path> variable (where full_cipher key path is the full path of the R2016x cipher file) before upgrading to R2027x.

When encrypting, both database user and admin_platform passwords and also certain 3DPassport data (for example, data generated using the 2-factor authentication capability), are stored in the appropriate configuration files and database tables.

To disable encryption, configure the variables as follows:

DS_NO_ENCRYPT_PASSWORD=1

X3DPASS_EKEY_PATH= <full_cipher key path>

You cannot disable encryption if upgrading an installation that is already encrypted.

When upgrading an encrypted 3DPassport, you must define the following variable: X3DPASS_EKEY_PATH.

Note: If you are installing a Hot Fix following the installation of a GA release and if you are using a TomEE server that is already running after installation of GA, make sure that the 3DPassport application has been deployed and is running properly. To perform this check, open the main URL of the 3DPassport application.
  1. Procure the media for your operating system.

    The name of the installation media is:

    • 3DPassport-V6R2027x.Windows64.zip on Windows.
    • 3DPassport-V6R2027x.Linux64.tar.gz on Linux.

  2. Untar/unzip the media to create the following directory:

    • 3DPassport.Windows64 on Windows.
    • 3DPassport.Linux64 on Linux.

  3. Change to the distribution directory.

    The directory is:

    • 3DPassport.Windows64/1 on Windows.
    • 3DPassport.Linux64/1 on Linux.

    Then start the installation as follows:

    • Windows: double-click setup.exe
    • Linux: ./StartGUI.sh for the GUI, or ./StartTUI.sh

    The installation procedure then starts:



    Note: The dialog boxes are the same on both Windows and Linux.

    Click Next.

  4. Specify the installation directory.



    The default values are:

    • C:\DassaultSystemes\R2027x\3DPassport on Windows.
    • /usr/DassaultSystemes/R2027x/3DPassport on Linux.
    Note: The installation path cannot contain any space characters.

    If you accept the default destination folder, click Next, or click Browse... and select the required destination folder. The folder you choose must be empty. You can also specify a new folder.

    Click Next.

  5. Specify the Java Home path.



    This is the location of your Java Development Kit (JDK).

    On Windows, the Java location is detected automatically.

    If you use a local Certificate Authority, register your certificates in this Java store using the keytool utility.

    Click Next.

  6. Specify the path of your existing TomEE+ installation.



    Click Next.

  7. Customize the user login case.



    Select Force lowercase users' login check box if you want to configure the 3DPassport to force the user's login in lowercase.

    The advantage of this option is that it forces the user's login (username) to lowercase when it is stored in the local database and retrieved by other applications.

    Recommendation: Use this method during installation, unless you are migrating from an environment other than the 3DEXPERIENCE platform.

    Click Next.

  8. Select the database type that you are using and specify the database connection parameters.



    • On Windows and Linux, if you selected SQL server, enter the SQL server connection parameters:

      Table 1. SQL Server Connection Parameters
      Field Name Description
      Database host (host[\instance][:port] SQL server database hostname. The default is localhost\SQLSERVER. If no port is specified, the default port is used (1433).
      Notes:
      • 3DPassport uses a TCP/IP connection to SQL server, so the default 1433 port (or another) must be configured using the SQL Server Configuration Manager.
      • Indicate additional database connection properties required to support encryption, for example: localhost\SQLSERVER;encrypt=true;sslProtocol=TLSv1.2

        Make sure the SQL server certificate is imported in the Java keystore of the service.

        Indicate additional database connection properties required to support multi subnet failover, for example: localhost\SQLSERVER; MultiSubnetFailover=True

      Database name Database name that you have created already. The default is passdb.
      Database administrator username Database administrator user name that you created already as explained in Create Databases and Database Users. The default is x3dpassadmin.
      Database administrator user's password The database administrator user's password.
      Warning: To change the Administrator and password, use the Reconfiguration tool. For more information, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Installation | Maintaining the Installation | Maintaining the Installation | Reconfiguring the 3DEXPERIENCE platform Installation.
      Database username Database username that you created already as explained in Create Databases and Database Users. The default is x3dpass.
      Database user's password The database user's password.
      Tokens database host (host[\instance][:port] Tokens database hostname. The default is localhost\SQLSERVER_TOKENS. If no port is specified, it uses the default port (1433).
      Note:
      • 3DPassport uses a TCP/IP connection to SQL server, so the 1433 port (or another) needs to be configured into the SQL Server Configuration Manager.
      • Indicate additional database connection properties required to support encryption, for example: localhost\SQLSERVER;encrypt=true;sslProtocol=TLSv1.2

        Make sure the SQL server certificate is imported in the Java keystore of the service.

        Indicate additional database connection properties required to support multi subnet failover for example: localhost\SQLSERVER; MultiSubnetFailover=True

      Tokens database name Tokens database schema name that you created already as explained in Create Databases and Database Users. The default is passtkdb.
      Tokens database username Tokens database username that you created already as explained in Create Databases and Database Users. The default is x3dpasstokens.
      Tokens database user's password The tokens database user's password.
      Note: The SQL server driver jar is installed automatically.
    • On Windows and Linux, if you selected Oracle, enter the Oracle connection parameters:

      Table 2. Oracle Server Connection Parameters
      Field name Description
      Directory tnsnames.ora (optional) Specify the directory containing the tnsnames.ora file. It is usually located in <Oracle_Home>/network/admin.
      Recommendation: Use the tnsnames.ora file method for specifying database name details.
      Net_service_name (with tnsnames.ora) or //host[:port]/service_name for 3DPassport application Database (service) name which you created already as explained in Create Databases and Database Users. There are two options:
      • If you did not specify the tnsnames.ora file path, specify the name in the following format: //localhost:1521/passdb.
      • If you did specify the tnsnames.ora file path, specify the name only: passdb
      Net_service_name (with tnsnames.ora) or //host[:port]/service_name for 3DPassport tokens Tokens database (service) name which you created already as explained in Create Databases and Database Users. There are two options:
      • If you did NOT not specify the tnsnames.ora file path, specify the name in the following format: //localhost:1521/passtkdb.
      • if you DID specify the tnsnames.ora file path, specify just the name: passtkdb
      Database username Database username which you created already as explained in Create Databases and Database Users. The default is x3dpassadmin.
      Database user's password The database user's password
      Tokens database username Tokens database user name which you created already as explained in Create Databases and Database Users. The default is x3dpasstokens.
      Tokens database user's password The tokens database user password.
      Note: The Oracle driver jar is installed automatically.
    Whichever database you are using, check the Check database connection option to perform a connection test with the database and Next.
  9. Configure the administrator details.



    Enter the following information:

    • The email address of the sender of emails sent by the application; the default is admin_platform@myemail.com. The email address must be a valid address if you want to receive notifications.
    • The password of the admin_platform user. The following default rules apply for the password syntax:
      • must not contain your username (admin_platform (case insensitive)),
      • must not contain your first name (Admin (case insensitive))
      • must not contain your last name (Platform (case insensitive))
      • must be at least eight characters long
      • must contain at least one digit
      • must contain at least one letter
      • must contain at least one uppercase alphabetical character
      • must contain at least one lowercase alphabetical character.

      Password validity is checked against password policy rules. If you do not observe the rules, a dialog box reminding you of the password policy opens, giving you the opportunity to enter a valid password.

    The admin_platform user, created automatically during the 3DPassport installation, is the user that has all the permissions to manage your application configuration.

    This user is not only the 3DPassport administrator but also by default the administrator for all other services.

    The creation of the administrator user on 3DPassport happens during the first start of the web application. When installing a hot fix, if the web application was never started previously, the administrator's password entered during the hot fix installation overrides the values specified by the previous installation. Once the web application has been started, the administrator's password entered on the next hot fix installation is ignored and the modification of the administrator's password can only be done from 3DPassport.

    Note: If you are migrating from a previous release, when installing 3DSpace later you can decide to keep your previous admin user. If your previous admin user is not present in a 3DSpace repository connected to 3DPassport (LDAP, AD,...) and you did not migrate it from your instance (as all other users), you need to create it in 3DPassport. Your current admin user is then considered administrator in 3DSpace, 3DDashboard, 3DSwym and 3DPassport. In this case, the admin_platform user is no longer required (and you should not assign a license to it).

    Click Next.

  10. Specify the service endpoints (enter the URL of the different services).

    Note: Do not use uppercase characters in the URLs (standard form specified in RFC3986)



    Before you do so, check the following:

    • the URLs must contain Fully Qualified Domain Names (FQDN)
    • the URLs must start with https:// (and not ftp or other)
    • 3DPassport must have a root URI if you install all the services on the same machine using the same port
    • 3DSpace (3DCompass) has a root URI.

    If you are installing the services on the same machine using the same port, each service requires a different rootURI.

    Sample URLs (if the services are installed on different machines) are:

    • 3DPassport service URL: the default is https://3dpassport.mydomain:443/3dpassport, where 3dpassport is the default webapp name; the installer will obtain the SSL port and the webapp name for the 3DPassport (the default is 3dpassport) and update the 3DPassport and the Apache reverse proxy configuration accordingly
    • 3DCompass service URL: the default is https://3dspace.mydomain:443/3dspace: this URL is added to the notification URL to ping when a user is created or updated.

    The license control service URL (default is: https://dsls.mydomain:4085) appears only if the DSLicSrv.txt file is not present in C:\ProgramData\DassaultSystemes\Licenses (Windows) or /var/DassaultSystemes/Licenses (Linux). The DSLicSrv.txt file is then created in the correct location, and contains, for example: dsls.mydomain:4085. The user performing the installation must have write access to the directory containing the file.

    Click Next.

  11. Configure the mail server.



    Enter the following information and click Next:

    Field Name Description
    Mail server name The default is localhost; in this case, local system should be configured to be capable of sending e-mails with enterprise-specific configuration .
    Mail sender name The email address of the sender of emails sent by the application; the default is admin_platform@3dpassport.mydomain but you can use another email. The mail sender name is used for password recovery (not available for user passwords if connected to enterprise SSO/LDAP), and notifications on security (if activated).
    Extended SMTP configuration Select the encryption mode.
    • None
    • SSL
    • TLS
    SMTP server port number Enter a port number.
    Choose the Authentication Mode Select one of the authentication modes:
    • Basic
    • Microsoft_OAuth2.0

  12. Based on the Authentication mode selected, enter information in the appropriate fields and click Next.
    • Basic

      Field Description
      User name Enter a user name.
      Password Enter a password.
    • Microsoft_OAuth2.0

      Field Description
      Directory (Tenant) ID Enter the GUID identifying your Microsoft Entra tenant. It is used to construct the token endpoint the installer writes to the configuration. You can get the details from Entra > Overview > Tenant ID.
      Client ID Enter the Application (client) ID of the registered application. You can get the details from Entra > App registrations > your application > Overview > Application (Tentant) ID.
      Client Secret Enter the secret value generated for the application. You can get the details from Entra > App registrations > Certificates & secrets > Client secrets.
      Important:
      • Copy the value in the Value column.
      • The value is displayed only at creation time and cannot be retrieved later; if lost, create a new secret.
  13. Review your installation choices, then click Install to install the files.

    You can consult the installation logs:

    • <3DPassportInstallPath>\InstallData\log on Windows.
    • <3DPassportInstallPath>/InstallData/log on Linux.

    Installation log files are prefixed by the installation media name.

    You can also verify the following logs for debugging or analyzing:

    • Apache Httpd: defaults to <ApacheInstallDir>\logs\* on Windows, <ApacheInstallDir>/logs/* on Linux.
    • External Apache TomEE+ default log directory:

      <externalTomEEInstallPath>\logs on Windows.

      <externalTomEEInstallPath>/logs on Linux.

    If the installation was successful, proceed to Operations.