Using PEM application certificate

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
machta
Jr. Member
Jr. Member
Posts: 2
Joined: 27 Nov 2017, 10:37

Using PEM application certificate

Post by machta »

Hi everybody,

is there a way to configure UaExpert to be able to load a PEM certificate (instead of the default DER) as the client's "own" application certificate?

What I am trying to do is send more than one certificate at once, i.e. a client certificate plus some intermediate certificates (a trust chain). As far as I can tell this can't be done with DER format, but it is simple for PEM.

Or maybe there is another way to tell UaExpert how to do this?

Thanks in advance,
Martin

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Using PEM application certificate

Post by Support Team »

Hello Martin,

using DER encoded certificates this is also possible. Using the latest UaExpert (V 1.5.0) you can have a uaexpert.der file which simply consists of concatenated DER-encoded certificates. The first one has to be the application instance certificate which is followed by the trust chain.

Using a bash-like console you could do something like this:

Code: Select all

cat casignedcert.der > uaexpert.der
cat rootcacert.der >> uaexpert.der
Best regards
Unified Automation Support Team

machta
Jr. Member
Jr. Member
Posts: 2
Joined: 27 Nov 2017, 10:37

Re: Using PEM application certificate

Post by machta »

I tried exactly the same thing with 1.4 but had no luck. Thank you, I will try it out with the new version.

Post Reply