Frequently Asked Questions

Share:

WebAdmin

  • To check, if the if CodeMeter WebAdmin is running on your Linux system, please proceed as follows:

    1. Open a terminal window.
    2. Type command:
    sudo service codemeter-webadmin status
    The deamon script now shows information about the running
    CodeMeter WebAdmin process.

    If the process is not running, enter sudo service codemeter-webadmin start to restart CodeMeter WebAdmin.

    The CodeMeterWebAdmin process "called" CmWebAdmin and is located at "/usr/sbin".
  • To be able to call CodeMeter WebAdmin "securely" via HTTPS in Google Chrome, you need to install the supplied, or your own certificate.
    Please proceed as follows to import the supplied "SelfSignedCert.perm" certificate:
    1. Open the browser
    2. Open the browser menu and click on "Settings".
    3. Scroll to the bottom of the page and click on "Advanced
    4. On this "Privacy and Security" page, click on "Manage Certificates".
    5. A window "Certificates" will open.
    6. Switch to the "Trusted Root Certification Authorities" tab and click "Import".
    7. Click on "Next" and click on "Browse" on the next page.
    8. Switch there into the directory "C:\ProgramData\CodeMeter\WebAdmin\" and select at the bottom of this window behind Filename "All Files".
    9. Select the certificate "SelfSignedCert.perm" and click on "Open".
    10. Click on "Next".
    11. On the next page also click on "Next".
    12.On the last page click on "Finish".
    13. An info box opens in which information about the certificate is displayed. You will be asked if you want to import this certificate. Click on "Import". A message appears that the certificate has been imported successfully.
    If the certificate has already been imported, only the message that the certificate has been imported successfully appears.
    14. Now restart the browser.
    15. Open CodeMeter WebAdmin.
    16. Switch to the "Settings | WebAdmin" tab.
    17. At "Protocol Selection" switch to HTTPS (with automatically generated self-signed certificate) and select the above mentioned "SelfSignedCert.perm" certificate.
    18. Then click on "Apply" and restart the browser.
    Now there should be no more security messages when you open CodeMeter WebAdmin.
  • to reset the local access to the WebAdmin, proceed as follows, depending on the operating system:

    Windows
    1. Open a prompt window ([Win]+[R] | input 'cmd')
    2. Navigate via 'cd' to C:\Program Files (x86)\CodeMeter\Runtime\bin (64-Bit System) or
    C:\Program Files\CodeMeter\Runtime\bin (32-bit system).
    3. Enter the following command to set a write access password:
    cmu32 --set-access-data --password 'MyPassword'

    Note:
    Starting with CodeMeter version 6.90, the installer no longer automatically tries to create firewall rules for WebAdmin during installation. You can enable this again by enabling the "Remote access to WebAdmin" component during installation (custom setup). If CodeMeter is already installed, you can also make a change to the installed components via the Control Panel or by re-running the installer.
    Alternatively you can create the firewall rules manually.

    Linux / macOS
    1. Open a terminal. The command cmu should be available.
    2. Enter the following command to set a password for write access:
    cmu --set-access-data --password 'MyPassword'

    After setting up write access, you can now do the following:

    1. Remote open WebAdmin of the server from the system: http://<ip-server>:22352
    At the top right you can now find an icon with an "R".
    This stands for the fact that you can read remotely.
    2. Click on the icon and select "Allow server access" and
    enter the password ('MyPassword').
    Now you should have write access to the system.

    In order to use your own certificate for the HTTPS connection, you must then make this known to the WebAdmin. Proceed as follows:

    1. Navigate to the menu entry "Settings | Base | WebAdmin".
    2. Set the certificate in the "Protocol selection" area.
  • To switch CodeMeter WebAdmin to HTTPS on a Linux system and enable write protection, please proceed as follows:

    1) Set the desired password for CodeMeter WebAdmins write access using the following "cmu" command:
    cmu --set-access-data --password <desired password>.

    2) Enable HTTPS communication in profiling:
    - Stop CodeMeter Deamon (sudo service codemeter stop).
    - Stop CmWebAdmin Deamon (sudo service codemeter-webadmin stop).
    - Open Server.ini file at /etc/wibu/CodeMeter in an editor.
    - Change the entry in the section [HTTPs] Enabled=1.
    - Start CodeMeter Deamon (sudo service codemeter start)
    - Start CmWebAdmin Deamon (sudo service codemeter-webadmin start)

    Following you can reach CodeMeter WebAdmin via "https://<IP address of License Central>:22353".

    Tip:
    You can reset the access data for CodeMeter WebAdmin at any time using the cmu tool.
    The command cmu --reset-access-data resets the access data and sets CodeMeter WebAdmin back to "local-only access".
  • With the changes of CodeMeter WebAdmin in version 6.90 the configuration has changed, which is required to make CodeMeter WebAdmin "visible" in the network, i.e. readable remotely.

    The new service CmWebAdmin reads values from the CodeMeter service CodeMeter.exe at startup. Among others also the parameter RemoteRead from the registry in case of Windows or the server.ini file in the cases of macOS and Linux.
    If you make changes, both services CodeMeter.exe and CmWebAdmin must be stopped before and restarted after the changes.
    To make CodeMeter WebAdmin visible in the network, the RemoteRead parameter must be set to a value of 2.

    Note:
    Starting with CodeMeter version 6.90, the installer no longer automatically tries to create firewall rules for WebAdmin during installation. You can enable this again by enabling the "Remote access to WebAdmin" component during installation (custom setup). If CodeMeter is already installed, you can also make a change to the installed components via the Control Panel or by re-running the installer.
    Alternatively you can create the firewall rules manually.

    Windows
    1. Stop services:
    CodeMeter service (service management or via CodeMeter Control Center | Action)
    CmWebAdmin service (service administration)

    2. Open the registry.
    - Press the key combination [Windows] + [R] to open the dialog.
    "Execute".
    - Enter the command regedit and confirm with [Enter].
    - Searching for the value
    [HKEY_LOCAL_MACHINE\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion].
    - Set the parameter in the section [HTTP] RemoteRead to a value of 2.
    3. Restart services:
    CodeMeter service (service management or via CodeMeter Control Center | Action)
    CmWebAdmin service (service administration)
     
    Linux
    Customize the Server.ini file. Proceed as follows:
    - Stop the CodeMeter Deamon (/etc/init.d/codemeter stop).
    - Stop the CmWebAdmin Deamon (/etc/init.d/codemeter-webadmin stop)
    - Open the Server.ini file at /etc/wibu/CodeMeter in an editor.
    - Change the entry in the section [HTTP] RemoteRead=2.
    - Starting the CodeMeter Deamon (/etc/init.d/codemeter start)
    - Starting the CmWebAdmin Deamon (/etc/init.d/codemeter-webadmin start)

    macOS
    Customize the Server.ini file. Proceed as follows:
    - Stop the CodeMeter Deamon via the control panel tool.
    - Stop the CodeMeter WebAdmin Deamon via the Control Panel tool.
    - Open the com.wibu.CodeMeter.Server.ini file at /Libray/Preferences in an editor.
    - Change the entry in the section [HTTP] RemoteRead=2.
    - Start the CodeMeter Deamon via the Control Panel tool.
    - Start the CodeMeter WebAdmin Deamon via the Control Panel tool.
  • This error can occur, if you have installed a different version of the CmWebAdmin service and the CodeMeter service.
    This can happen, for example, if you had installed the complete CodeMeter Runtime in an old version (which includes CodeMeter and CodeMeter WebAdmin) and then later installed only an update of the Reduced CodeMeter Runtime (without CodeMeter WebAdmin).

    In this case, it is best to uninstall all versions of CodeMeter Runtime found in the Windows Control Panel and reinstall the usual full CodeMeter Runtime Installer in the current version.
    You can find it on our website at: https://www.wibu.com/support/user/user-software.html "CodeMeter User Runtime for Windows".
  • CodeMeter WebAdmin is based on HTML code including Javascript. The full functionality requires the activation of Javascript, e.g. on selecting a single CmContainer when several CmContainer are used. Without activated Javascript the HTML part alone is executed correctly, e.g. displaying the first CmContainer in the dropdown.
    This is the reason why CodeMeter WebAdmin works in all common browser, e.g.Edge, Firefox, or Chrome.
  • This might have several reasons. Please proceed as follows:

    1. Check whether the browser is in "offline mode".
    If this is the case, please switch the mode. In the Internet Explorer, for example, deactivate the menu item "File | Offline Mode".
    2. Check whether the localhost resolution works.
    Alternatively, use the links 127.0.0.1:22350 or [::1]:22350. In this case of a defined IP address or computer name, please replace 127.0.0.1 with this address or name.
    3. Check whether CodeMeter License Server runs in communication mode 'shared memory only'.
    In this case, CodeMeter License Server allocates no port and no TCP/IP communication takes place. Check this mode as follows:
    - either in CodeMeter Control Center via the tab Events: Check the first 10 lines for the entry Used Communication Mode. If the entry does not hold IPv4 or IPv6, no port is allocated.
    - or in CodeMeter Profiling (see below) the value of ApiCommunicationMode is set to 2.
    In this case, you must change the value of ApiCommunicationMode in CodeMeter Profiling (see below) for the CodeMeter WebAdmin functionality. Set the value to 1 to activate all communication modes. To apply the changes, you must restart CodeMeter License Server, e.g., via "CodeMeter Control Center | Action | Restart CodeMeter Service".

    CodeMeter Profiling
    For Windows operating systems, you find the profiling entries in the registry. For other operating systems these entries are set in the file server.ini.

    Windows --- (Registry) HKLM/SOFTWARE/WIBU-SYSTEMS/CodeMeter/Server/CurrentVersion
    Mac OS --- Library/Preferences/com.wibu.CodeMeter.Server.ini
    Linux --- /etc/wibu/CodeMeter/Server.ini
    Solaris --- /etc/opt/CodeMeter/Server.ini
To top