Opc.Ua.CertificateGenerator expected behavior

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
smgehrig
Jr. Member
Jr. Member
Posts: 2
Joined: 01 Apr 2019, 20:26

Opc.Ua.CertificateGenerator expected behavior

Post by smgehrig »

Hello,

I am trying to implement certificate management with a GDS.
I have a client that is attempting to call CreateRequest to generate a CSR.

The issue I am running into is that the call throws an exception: "input file was not processed properly"

When checking the tmp file that gets generated by the command and called by opc.ua.certificategenerator, I notice that it does not change to contain "-requestFilePath"
It still has the original content starting with "-cmd request", hence the error.

I tried running the command opc.ua.certificategenerator.exe -f <path/to/tempfile> and it still did not work.
I am also not getting any errors or logs.

Are there any ideas as to why the certificategenerator is not working?
I have uploaded useful diagnostic info such as picture of the file, and the generator version.
*Edit - I don't see the attachments. I will manually enter them below
CertificateGenerator version is:

Code: Select all

1.1.336.4


temp file written for generator:

Code: Select all

-cmd request
-publicKeyFilePath 3082046930820351A003020102021008DC90DFC3A3D64D8709CB0FAA811B38300D06092A864886F70D01010B05003050311C301A060A0992268993F22C640119160C47434E443732373036315445311A3018060355040A0C11556E69666965644175746
...
-privateKeyFilePath 3082054E0201033082050A06092A864886F70D010701A08204FB048204F7308204F3308204EF06092A864886F70D010706A08204E0308204DC020100308204D506092A864886F70D010701301C060A2A864886F70D0
...
-hashSize 256


Error:

Code: Select all

UnifiedAutomation.UaBase.StatusException
  HResult=0x80131600
  Message=Input file was not processed properly.



Thank you,
Steve

Post Reply