cancel
Showing results for 
Search instead for 
Did you mean: 

ctrlX OS - Licensing API - device key not found

ctrlX OS - Licensing API - device key not found

WolfgangDannert
Established Member

Hello,

I would like to test the new feature as described in this guide:
https://github.com/boschrexroth/ctrlx-automation-sdk/blob/main/doc/licensing.md#spoofing

When I send a license request with the corresponding query parameter set to the 'license-manager/api/v1/license?signResponse=true' url the server response is "device key not found":

2024-07-08_13h55_39.png

 

 

 

 

 

I use ctrlX OS V2.6.1.

What do I have to do to make the REST call work?
Thank you in advance

3 REPLIES 3

WolfgangDannert
Established Member

Is there anyone here who can help?

Hi,

this functionality requires a device key & certificate. Could you please check whether such a key / certificate is (already) present on your device? You can check in "Settings -> Certificates & Keys -> Permanent storage -> Certificates": A file named device.crt must be presented.

Some (technical) background: The device certificate is the default trust anchor on the device used for licensing (and potential other scenarios). It was introduced not too long ago and is being shipped with devices that have ctrlX OS version 0120.7 or newer pre-installed. In case no device certificate is present, on Rexroth devices the serial number is accepted for licensing. This allows us to remain backwards compatible to devices which have not been shipped with a device certificate. Unfortunately, such devices do not support signed responses due to the missing key / certificate. We will soon offer a solution which allows to register such devices and to retrieve a device certificate.

Hi,

thanks for the answer and the background information.

Only the certificate "devicePortalDeviceCert_undeletable.pem" is available.
That explains the behavior.

I have some questions about the device certificate.
Will there always be a serial number in the future or is it planned to replace it completely with the device certificate?

Will it be possible to activate software licenses on the serial number and the device certificate in the Rexroth License Portal?

When is the new "Register" feature scheduled?

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist