OPCUA LogIn failed after SSL-Config

Hello,
I wanted to add the whole SSL Config to my AS6-program (which was migrated from AS4.12).
I followed the steps which were described in the following topic ( UAExpert, mappView: How to make a secure OPCUA connection to OPCUA server with communication partner validation - #10 by florent.boissadier )

But I still can’t connect MappView with my OPCUA. It worked before but now it doesn’t:

This is the current configuration; if you need more, just let me know.

I tested around and didn’t find any solution yet.
Thanks

Hi,

I’m not sure if this is the cause (or even if it belongs to your issue), but I see in your client certificate an unusual combination of the “DNS” parameter and an IP address:

As far as I understood, if using an IP address the parameter “IP:” has to be used, if using a hostname the parameter “DNS:” has to be used inside the certificate.

Best regards!

Hello,
Thanks for your reply.

I took the screenshot during testing and might have used an older version. It definitely has to be IP:…
But since I had already tested it, it did not solve the problem.

Hi,

okay thanks.
As the root error message “BadCertificateUriInvalid” points directly to the IP/DNS configuration, I’ve no other idea by now what to check else.
Another common certificate validation issue is based on “unsynchronized clocks between client and server”, but I’m not aware of the error message in that case - nevertheless I would recommend to check that.

Let’s wait, hopefully someone with more experience in direction of certificates then me has more ideas…

Best regards!

Hi @Toby_Herbst

it looks like there is missing the URI for mappView in your certificate, take a look here: OPC UA - Creating a client certificate, you can add direct at the URI: urn:/BR/HMI/mappView@local , delete the default one.

BR

Vanessa

Hello,

This was exactly the case in my MappView SSL-Configuration. I missed the correct URN.

Thanks for the help.

Kind regards,

Toby