Linux version of 1.03 Compliance Test Tool|OPC Certification and Interoperability Testing|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Linux version of 1.03 Compliance Test Tool
Avatar
Vincent Lacroix
Member
Members
Forum Posts: 14
Member Since:
07/06/2017
sp_UserOfflineSmall Offline
1
12/23/2017 - 14:12
sp_Permalink sp_Print

Hello,

A Windows version of 1.03 Compliance Test Tool has been released last month.

Will you release a linux version of this tool like your did for 1.02 (It would be greatly appreciated) ?

Best Regards,

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 66
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
2
12/26/2017 - 08:09
sp_Permalink sp_Print

Hello,

we are currently working on a new Linux release of the CTT. We hope to publish a Beta version for Linux ahead of the IOP Workshop, starting on 22nd of January in Scottsdale.

Best regards
Alexander Allmendinger

Avatar
Nicolas Gagnon
New Member
Members
Forum Posts: 1
Member Since:
01/23/2018
sp_UserOfflineSmall Offline
3
03/01/2018 - 07:35
sp_Permalink sp_Print sp_EditHistory

Hi.

 

Will there be a 64 bit version of this 1.03 Linux package?

 

Thanks.

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 66
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
4
03/03/2018 - 13:38
sp_Permalink sp_Print

Hello Gagnon,

as far as I know there was no 64 bit version of the CTT available in the past. So we can't provide one in the short term. But if we do see the demand for such a version, we can work on making it available as well.

Regards,
Alexander Allmendinger

Avatar
Vincent M.
New Member
Members
Forum Posts: 2
Member Since:
09/15/2014
sp_UserOfflineSmall Offline
5
03/26/2018 - 01:48
sp_Permalink sp_Print

Hello,

Are there any news on the Linux version of 1.03 CTT ?

Best regards,

Vincent

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 66
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
6
04/07/2018 - 16:22
sp_Permalink sp_Print

Hello Vincent,

unfortunately not. The Linux version is on our roadmap and we are hoping to have the Linux version available for the next release.

Regards,
Alexander Allmendinger

Avatar
Elena Petrevska
New Member
Members
Forum Posts: 2
Member Since:
07/17/2015
sp_UserOfflineSmall Offline
7
01/24/2019 - 08:08
sp_Permalink sp_Print

Hello everyone, 

 

Alexander, it would be really helpful to have a 64 bit version for Linux as well. I have just tried to run the 32 bit version on a 64 bit computer and no matter how many hacks I do, it does not allow me. 🙂

 

Thank You in advance and have a nice evening, 

Elena Petrevska 

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 109
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
8
01/29/2019 - 23:17
sp_Permalink sp_Print

Elena,

  We will see if we can get a 64 bit version for Linux built, but it is not our highest priority.  Remember, the CTT does not need to run on the same machine as the Server or Client, it can run on any machine - even a VM.  The windows version runs on 64 bit computers.

Paul

Paul Hunkar - DSInteroperability

Avatar
Vincent Lacroix
Member
Members
Forum Posts: 14
Member Since:
07/06/2017
sp_UserOfflineSmall Offline
9
01/30/2019 - 00:49
sp_Permalink sp_Print

Hello,

We have been able to run the Windows version of UACTT on our Linux desktops using Wine (https://www.winehq.org/). It works pretty well.

Best Regards,

Vincent

Avatar
Elena Petrevska
New Member
Members
Forum Posts: 2
Member Since:
07/17/2015
sp_UserOfflineSmall Offline
10
02/01/2019 - 07:20
sp_Permalink sp_Print

Hello Paul and Vincent, 

Thank you for your answers and suggestions. 

In the meantime, I had some progress. 

I had big issues running this tool on the 64-bit machine. I first thought that the problem is that I don't have the needed 32-bit libraries and I installed some which were recommended on the web, like libc6-i386. But then, I realized that actually there was a problem with the certificate generator.

The certificate generator can be found under: /opt/opcfoundation/uactt/certificate_generator/

Two files are available: the shell file create_ctt_pki.sh and the configuration file openssl.cnf. As officially delivered, the shell script always crushes on the test "CTT Expired User Certificate - Trusted". When I would deactivate that particular certificate-function, it would finish creating all the certificates. So, I knew that that certificate causes the problem but I didn't know why. I saw that the .per file would get created, but the .txt file would get created in the TMPPKI folder, but the .txt.attr file not, only for that particular test. So the problem had to be somewhere in between. After further investigation, I realized that the PEM certificate is created but will not be converted to DER, and on top of that, the PEM certificate had the size of 0 kbytes (an empty file). After further investigation, I found out that there is no definition for "CERTNO", only for CERTN and CERTO (for the 0= option), and that caused the generator to crush. Unfortunately, I was unable to post images, I wanted to show you exactly where it is, but if you search for "CERTNO" in the shell script file, there is only one place and that is this one. The same warning and problem appeared for the 32 bit version, but the generator skipped the warning.

After fixing it, everything functioned. I could copy the folder with the certificates in my Project and use them.

NOTE: it can be, that the PKI folder is locked and unusable because it belongs to root. In order to change the permission level use: chmod a+rwx <FOLDER_NAME>

I hope that my detailed investigation will help you be able to correct this small typo and be ready for the 64 version fasterWink

Or at least, I hope it will be helpful for people who want to run the tool on 64 bit linux.

Many greetings, 
Elena Petrevska

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 66
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
11
02/08/2019 - 03:49
sp_Permalink sp_Print

Hello Elena,

thanks a lot for the very detailed investigation. For the next release we added the generation of many more certificates and therefore reworked the whole create_ctt_pki.sh. But I'll ensure that this typo has been fixed as well and wasn't overseen in the tests.

Regards,
Alexander Allmendinger

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 19
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1351
Posts: 4579