Login  •  Register


BadCertificateHostNameInvalid

Questions regarding the use of the UaExpert.

BadCertificateHostNameInvalid

Postby cacamille3 » 03 Nov 2015, 08:50

Hello,

I am using the latest UAExpert 1.4.0

When I try to connect with SecureMode Basic128Rsa15 - Sign or Sign/Encrypt or Basic256 - Sign or Sign/Encrypt
I get a warning Message in attachment.

This was not shown before.
Is there a way to know why ?
The SubjectAltName of my Certificate contains the same Urn as the Server Application Uri sent by my Server.
You do not have the required permissions to view the files attached to this post.
cacamille3
Hero Member
Hero Member
 
Posts: 73
Joined: 15 Feb 2012, 21:43
Location: Vienna

Re: BadCertificateHostNameInvalid

Postby cacamille3 » 06 Nov 2015, 09:33

up
cacamille3
Hero Member
Hero Member
 
Posts: 73
Joined: 15 Feb 2012, 21:43
Location: Vienna

Re: BadCertificateHostNameInvalid

Postby Support Team » 06 Nov 2015, 15:56

Hello,

the error refers to the SubjectAlternativeName extension, which shall contain the server's hostname(s) and/or IP addresses. If you connect to the server using it's IP address and the certificate only contains the hostname (or the other way round), this error will be thrown.

Regards,
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2420
Joined: 18 Mar 2011, 15:09

Re: BadCertificateHostNameInvalid

Postby cacamille3 » 06 Nov 2015, 16:24

I have one valid URI but no IPAddresses nor DNSNames.
Are those required by the OPC specification ?
You do not have the required permissions to view the files attached to this post.
cacamille3
Hero Member
Hero Member
 
Posts: 73
Joined: 15 Feb 2012, 21:43
Location: Vienna

Re: BadCertificateHostNameInvalid

Postby Support Team » 07 Nov 2015, 13:06

Hello,

the errors are obviously in the certificate of the Loytec Server. The certificate does not comply to the OPC Specification. The Server's certificate is either wrong, corrupted, or hacked(replaced) by someone else. UaExpert very clearly points to the issues that where found during validation of the server's certificate and it is reporting them as "warning" (orange color) to give you (the user/administrator) some more information on all the wrong(incomplete) certificate content. The decision is yours, if you still want to trust the Loytec Server, you can, but it is on your own risk.

You should contact the Loytec support and ask if and why they deploy wrong certificates. However, if the Loytec original certificate was correct, you might have forgery of certificates on your system.

Best Regards
Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2420
Joined: 18 Mar 2011, 15:09

Re: BadCertificateHostNameInvalid

Postby cacamille3 » 09 Nov 2015, 09:33

The only missing stuff was the DNS Name. In the pre-installed Server certificate, it was present, but missing when creating a self-signed certificate.
Therer is no more warnings anymore now.
cacamille3
Hero Member
Hero Member
 
Posts: 73
Joined: 15 Feb 2012, 21:43
Location: Vienna

Re: BadCertificateHostNameInvalid

Postby samanthaharper » 28 May 2019, 09:05

A server hostname is a name of that server. You may find it out easily. If it is Unix/Linux types server then just type 'hostname' command. Assignment Help UK Online available.
samanthaharper
Jr. Member
Jr. Member
 
Posts: 1
Joined: 28 May 2019, 09:02

Re: BadCertificateHostNameInvalid

Postby Fawadahmad » 15 Jul 2019, 13:54

You may do some mistake in the code of the website. You can find its solution from the article of Essay Writing Service In Karachi which will help you to solve this problem and you will easily access it.
Fawadahmad
Jr. Member
Jr. Member
 
Posts: 1
Joined: 15 Jul 2019, 13:48

Re: BadCertificateHostNameInvalid

Postby agharaza » 03 Aug 2019, 13:49

The server hostname is the name of the server itself. If anybody struggles in making arguments then they should visit Best Essay Writing Service to get their assignments done in cheap price.
agharaza
Jr. Member
Jr. Member
 
Posts: 1
Joined: 03 Aug 2019, 13:43


Return to UaExpert

Who is online

Users browsing this forum: No registered users and 0 guests