Main Content

Enabling HTTPS

  1. Navigate to the MATLAB® Web App Server™ installation location and run the server application.

    PlatformSteps

    Windows®

    (Administrator)

    Default location of the application is:

    C:\Program Files\MATLAB\MATLABWebAppServer\R2024b\application

    Right-click MATLABWebAppServer.exe and select Run as administrator.

    Linux®

    Default location of the application is:

    /usr/local/MATLAB/MATLABWebAppServer/R2024b/application

    At the shell prompt, type:

    run_MATLABWebAppServer.sh <MATLAB_Runtime_Location>

    macOS

    Default location of the application is:

    /Applications/MATLAB/MATLABWebAppServer/R2024b/application

    Double-click the app MATLABWebAppServer.app

  2. Select the Configure and Run tab.

  3. Check the option Use Secure Connection (SSL) in the MATLAB Web App Server.

  4. Enter the location of the private key file and the certificate file. Click Apply.

The browser opens the web apps home page using HTTPS.