Page 1 of 1

Using PEM application certificate

Posted: 12 Oct 2018, 13:03
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

Re: Using PEM application certificate

Posted: 15 Oct 2018, 13:33
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

Re: Using PEM application certificate

Posted: 15 Oct 2018, 16:25
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.