Introduction
This article discusses how to successfully build in a Docker Container with a Cloud LIcense Server (CLS), especially in a Windows servercore:ltsc2019 image:
The build fails due to an SSL certificate not being available or not having been updated inside the Docker Container.
9-28-2023[11:38:12 AM]: CLS - Failed to connect the CLS server - https://flexerasoftware.compliance.flexnetoperations.com/instances/[CLSID]/request: [[1,7e4,7,0[75000001,60,3001025c]] General data transfer failure. SSL peer certificate or SSH remote key was not OK
Instructions
To address this problem, the solution involves exporting certificates from the local machine, saving them as an SST file, then importing them into the Docker Container.
- Export the certificate from your local machine using following PowerShell command in an opened instance of PowerShell ISE:
Get-ChildItem -Path cert:\LocalMachine\Root | Export-Certificate -FilePath c:\Test\TrustedRootCertBackup.sst -Type SST - Copy the backup .sst file to folder shared with the Docker Container.
- Log into the Docker Container with an active session.
- Launch the Docker Container in PowerShell Mode using the following command:
docker run -it -v "C:\ISDockerBuild:C:\Test" installshield-sab2023r1 powershell - Once the Docker Container is started, run the following command and make sure the .sst file is available in the shared folder.
- Import the certificate using the following command:
Import-Certificate -FilePath C:\test\TrustedRootCertBackup.sst -CertStoreLocation Cert:\LocalMachine\Root - Try to build the project with the build command (ISCmdBld.exe).
- The build will succeed.
More Information
Click here for more information about using Dockerfiles on Windows.
Related Articles
InstallShield Standalone Build: Parameters to Automate the Registration Process 7Number of Views InstallShield StandAlone Build with Docker 31Number of Views InstallShield Standalone Build (Node-Locked) License 9Number of Views Install InstallShield Standalone Build and Obtain a Node-Locked License File 3Number of Views How to Activate the InstallShield Standalone Build (SAB) using a Cloud License Server (CLS) ID inside a Docker Container a… 40Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago