Opc.Ua.CertificateGenerator not working on CSR|OPC UA Standard|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
Opc.Ua.CertificateGenerator not working on CSR
Avatar
Steven Gehrig
New Member
Members
Forum Posts: 1
Member Since:
10/22/2018
sp_UserOfflineSmall Offline
1
04/03/2019 - 06:59
sp_Permalink sp_Print

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?
Information below:

CertificateGenerator version is

1.1.336.4

temp file written for generator:

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

Error:

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

Thank you,
Steve

Avatar
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/04/2019 - 06:57
sp_Permalink sp_Print

This question needs to be sent to UnifiedAutomation.

The tmp file contains the response arguments after the tool completes.

So it looks like the tool is working and the error is in the SDK.

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