howto-howto-1444x512

Connect UA.TestClient to ctrlX UA Server

marcusX
Established Member

This is about how you can connect the Bosch Rexroth UA.TestClient to a ctrlX embedded UA Server.

Prerequisites

Install UA Server snap on your ctrlX if not already installed.
Download latest UA.TestClient here.

Create UA.TestClient Certificate

On first startup of the application you were asked to create a new application instance certificate for the UA.TestClient.
Ensure the Key Size Rsa2048 and Hash Algorithm Sha256 using extended options revealed by button <Advanced>. 

Press <Create> to create the certificate pair.

Initial Connection

Start UA.TestClient and connect

Example URL's

Device  URL
ctrlX CORE
e.g. opc.tcp://192.168.1.1:4840
ctrlX COREvirtual with Network Adapter opc.tcp://192.168.1.1:4840
ctrlX COREvirtual with Port Forwarding (with Bosch VPN in Mobile Office)

opc.tcp://127.0.0.1:4840

If you use Port Forwarding, please change 8840:4840 to 4840:4840 in crlX WORKS before starting your ctrlX COREvirtual.

 

Check permission UA Server access  of your current user. The default user boschrexroth should have admin rights.

2020-03-26_07h55_34.png

Enter your ctrlX IP and credentials like shown below and press <Find>.

Choose one of your preferred endpoint by policy (recommended: SignAndEncrypt Basic256Sha256. Not supported yet: Aes256_Sha256_RsaPss)

Enter your username/password credentials and press <OK>.

2020-03-25_11h23_33.png

Now you have to trust the server's certificate manually.

Press <Trust> and check <Save Certificate in TrustList>

2020-03-25_11h23_47.png

You should get an <BadSecurityChecksFailed>  error from server, because the server is not trusting your certificate by default.

So we have to do same on server side.

 

2020-03-25_11h20_03.png

Login into your ctrlX website, navigate to Settings → Certificates & Keys and press the <Check> Button on the right pane to trust your client certificate.

2020-03-25_11h20_19.pngReconnect: Done, your connection should be established!

2020-03-25_11h21_49.png

Have fun using the UA.TestClient !

marcusX
marcusX
Hi, I am Marcus and I work as Senior Software Developer and Team Architect (CPSA-F) of the ctrlX App Software Team. We're in charge of the ctrlX SDK and many popular apps: ctrlX Node-RED, ctrlX Telegraf, ctrlX Container Engine (FNA: "Docker"), ctrlX 3D-Viewer and ctrlX KVD. If you want to learn more about our products, please contact me. Stay tuned!
10 Comments
Must Read
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