Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

OPC UA Driver Setting - Geo SCADA 2021 Rel. Feb 2022

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • OPC UA Driver Setting - Geo SCADA 2021 Rel. Feb 2022
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Solved
justinoj
Ensign justinoj
Ensign

Posted: ‎2022-06-30 05:13 PM . Last Modified: ‎2023-05-02 11:54 PM

0 Likes
15
4789
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 05:13 PM . Last Modified: ‎2023-05-02 11:54 PM

OPC UA Driver Setting - Geo SCADA 2021 Rel. Feb 2022

Hi Experts,

I'm new to OPC UA in Geo SCADA, trying to establish comms with a OPC UA Server (Kepware) for testing.

 

Test set up has both OPC Server (Kepware) and OPC client (Geo SCADA) in same network running on different PCs. I've tested the comms with Matrikon OPC UA on the client PC (where GeoSCADA installed) and works perfectly fine. This proves OPC Server is good. Please advise from the below snapshot what could be wrong with OPC UA Server setting, I'm receiving an API error as shown in below snapshot.

 

OPC Server setting.PNGOPC Server Error.PNGSubscription Error.PNG

Labels
  • Labels:
  • Drivers
  • SCADA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
justinoj
Ensign justinoj
Ensign

Posted: ‎2022-06-30 05:23 PM

0 Likes
0
4786
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 05:23 PM

Hi Experts, 

I discovered that I did not have discovery server configured. Posting below the snapshots of the working sample. 

 

Added discovery server and entered the OPC UA Endpoint URL here.

Discovery server.PNG

 

Browse the discovery server from Server URL field.. Then browse the endpoint URL which has security access options such as None, Basic128Rsa15, Basic 256 etc..

OP Server setting fixed.PNG

 

OPC UA Point.PNG

 

Thanks,

Justin

See Answer In Context

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

MarkPitout
Lieutenant JG MarkPitout Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-22 02:53 AM

2 Likes
0
4152
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-22 02:53 AM

Right, I have certificates in Geo SCADA working with Kepware OPC-UA as well. I will eventually put together a document describing the full process, but in the meantime I think the major sticking point is generating the certificate and key used by Geo SCADA correctly. so I will briefly explain that process here.

 

Side note: I've tested with three different OPC-UA servers: EcoStruxure OPC-UA Server Expert, the BMENUA0100 coms card of the M580 ePAC and now Kepware. Of the three, Kepware is the strictest in evaluating the certificates - it requires not only that the certificates match, but also that the OPC-UA application uri declared by the client and the hostname of the computer hosting the client are accurately declared in the certificate. It appears that both the BMENUA0100 card and EcoStruxure OPC-UA Server Expert software don't impose this extra burden, and simply validates that the certificate received matches one in their trusted certificates stores.

 

How to make a certificate and key for Geo SCADA that is acceptable by Kepware:

 

1. Have OpenSSL installed. A Windows installer can be found at this site: https://slproweb.com/products/Win32OpenSSL.html !!! Note: this is a third party installer of OpenSSL. I take no responsibility for it !!!  

2. Have the bin folder of OpenSSL declared in the PATH environment variable of your user account. In my case the path is "C:\Program Files\OpenSSL-Win64\bin"

3. Create a folder somewhere that you can reach easily in a command prompt. Say, for example: "C:\Certficate"

4. Create a new text file in that folder and rename it to "openssl.cnf".

5. Edit "openssl.cnf" in notepad, and paste the following text in it:

 

[ req ]
default_bits = 2048
default_keyfile = key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
prompt = no

[ subject ]
countryName = <your country>
localityName = <your city>
organizationName = <your company name>
organizationalUnitName = <your organizational unit name>
domainComponent = SchneiderElectric:ClearSCADA
commonName = GeoSCADA

[ x509_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid,issuer
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment, dataEncipherment, nonRepudiation
subjectAltName = @alternate_names
nsComment = "OpenSSL Generated Certificate"
extendedKeyUsage = serverAuth,clientAuth

[ req_ext ]
# Nothing in this section...

[ alternate_names ]
DNS.1 = <host name of the Geo SCADA server>
URI.1 = urn:GeoSCADA:SchneiderElectric:ClearSCADA

 

#Obviously edit this text to suite your scenario (eg. your country, city, etc.), but specifically the Hostname of the Geo SCADA server is important.

 

6. Open a command prompt and change the working directory to the folder where you placed "openssl.cnf" and run the following three commands:

openssl req -x509 -newkey RSA:4096 -days 3650 -keyout key.pem -out cert.pem -sha256 -config openssl.cnf
openssl x509 -inform pem -in cert.pem -outform der -out cert.der
openssl rsa -inform pem -in key.pem -outform der -out key.der

 

#You will be asked for a password for the key.pem file - choose any four characters. It does not matter what the password is.

 

7. Upload the files "cert.der" and "key.der" into the SSL Certificate and Key object referenced by the the OPC-UA server object, in your Geo SCADA database. Also ensure that the Common Name configured in the OPC-UA Server object is "GeoSCADA".

 

8. Dissable and re-enable the OPC-UA server object. After it connects to Kepware, use the OPC-UA Configuration tool of Kepware to trust the certificate it received. Wait a few second and the connection should become healthy. 

 

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 15
justinoj
Ensign justinoj
Ensign

Posted: ‎2022-06-30 05:23 PM

0 Likes
0
4787
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 05:23 PM

Hi Experts, 

I discovered that I did not have discovery server configured. Posting below the snapshots of the working sample. 

 

Added discovery server and entered the OPC UA Endpoint URL here.

Discovery server.PNG

 

Browse the discovery server from Server URL field.. Then browse the endpoint URL which has security access options such as None, Basic128Rsa15, Basic 256 etc..

OP Server setting fixed.PNG

 

OPC UA Point.PNG

 

Thanks,

Justin

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

DJO74
Ensign DJO74
Ensign

Posted: ‎2023-03-15 03:45 AM

0 Likes
2
4335
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-15 03:45 AM

Does is it also work with certificates? We cannot get it working.

Reply

Link copied. Please paste this link to share this article on your social media post.

Abed
Crewman Abed Crewman
Crewman

Posted: ‎2023-04-16 05:09 AM

In response to DJO74
1 Like
1
4258
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-16 05:09 AM

That is true. I cannot get it working with Endpoint rather than None - None.

I already opened a case with support team.

Reply

Link copied. Please paste this link to share this article on your social media post.

DJO74
Ensign DJO74
Ensign

Posted: ‎2023-04-17 05:40 AM

In response to Abed
0 Likes
0
4229
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-17 05:40 AM

Could you keep me posted, because I raised a support question also but have not yet found the solution.

Reply

Link copied. Please paste this link to share this article on your social media post.

MarkPitout
Lieutenant JG MarkPitout Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-18 11:28 PM

0 Likes
0
4200
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-18 11:28 PM

I am also curious about using certificates with the OPC-UA driver in Geo SCADA. I have no problem connecting Geo SCADA to an M580 BMENUA0100 server, without security. But, when I enable security and need to use certificates, I cannot get it working.

Reply

Link copied. Please paste this link to share this article on your social media post.

MarkPitout
Lieutenant JG MarkPitout Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-20 11:25 AM

0 Likes
2
4184
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-20 11:25 AM

With the help of a colleague in the UK, I managed to get Geo SCADA talking to my M580 BMENUA OPC-UA server, using certificates and with user authentication. 

The certificate used by Geo SCADA has to be crafted in a very way for it to work. I will summarize the steps it takes to make it work and post it here - perhaps the same steps will help other users. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Abed
Crewman Abed Crewman
Crewman

Posted: ‎2023-04-20 12:47 PM

In response to MarkPitout
0 Likes
1
4180
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-20 12:47 PM

Hi,

Good to hear that. We’re in a very critical situation with the customer and we need to get it work with certificate and user authentication.

I’ll be waiting your summarized steps may it solve our issue with the customer.

Thanks in Advance!

Reply

Link copied. Please paste this link to share this article on your social media post.

MarkPitout
Lieutenant JG MarkPitout Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-22 02:53 AM

2 Likes
0
4153
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-22 02:53 AM

Right, I have certificates in Geo SCADA working with Kepware OPC-UA as well. I will eventually put together a document describing the full process, but in the meantime I think the major sticking point is generating the certificate and key used by Geo SCADA correctly. so I will briefly explain that process here.

 

Side note: I've tested with three different OPC-UA servers: EcoStruxure OPC-UA Server Expert, the BMENUA0100 coms card of the M580 ePAC and now Kepware. Of the three, Kepware is the strictest in evaluating the certificates - it requires not only that the certificates match, but also that the OPC-UA application uri declared by the client and the hostname of the computer hosting the client are accurately declared in the certificate. It appears that both the BMENUA0100 card and EcoStruxure OPC-UA Server Expert software don't impose this extra burden, and simply validates that the certificate received matches one in their trusted certificates stores.

 

How to make a certificate and key for Geo SCADA that is acceptable by Kepware:

 

1. Have OpenSSL installed. A Windows installer can be found at this site: https://slproweb.com/products/Win32OpenSSL.html !!! Note: this is a third party installer of OpenSSL. I take no responsibility for it !!!  

2. Have the bin folder of OpenSSL declared in the PATH environment variable of your user account. In my case the path is "C:\Program Files\OpenSSL-Win64\bin"

3. Create a folder somewhere that you can reach easily in a command prompt. Say, for example: "C:\Certficate"

4. Create a new text file in that folder and rename it to "openssl.cnf".

5. Edit "openssl.cnf" in notepad, and paste the following text in it:

 

[ req ]
default_bits = 2048
default_keyfile = key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
prompt = no

[ subject ]
countryName = <your country>
localityName = <your city>
organizationName = <your company name>
organizationalUnitName = <your organizational unit name>
domainComponent = SchneiderElectric:ClearSCADA
commonName = GeoSCADA

[ x509_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid,issuer
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment, dataEncipherment, nonRepudiation
subjectAltName = @alternate_names
nsComment = "OpenSSL Generated Certificate"
extendedKeyUsage = serverAuth,clientAuth

[ req_ext ]
# Nothing in this section...

[ alternate_names ]
DNS.1 = <host name of the Geo SCADA server>
URI.1 = urn:GeoSCADA:SchneiderElectric:ClearSCADA

 

#Obviously edit this text to suite your scenario (eg. your country, city, etc.), but specifically the Hostname of the Geo SCADA server is important.

 

6. Open a command prompt and change the working directory to the folder where you placed "openssl.cnf" and run the following three commands:

openssl req -x509 -newkey RSA:4096 -days 3650 -keyout key.pem -out cert.pem -sha256 -config openssl.cnf
openssl x509 -inform pem -in cert.pem -outform der -out cert.der
openssl rsa -inform pem -in key.pem -outform der -out key.der

 

#You will be asked for a password for the key.pem file - choose any four characters. It does not matter what the password is.

 

7. Upload the files "cert.der" and "key.der" into the SSL Certificate and Key object referenced by the the OPC-UA server object, in your Geo SCADA database. Also ensure that the Common Name configured in the OPC-UA Server object is "GeoSCADA".

 

8. Dissable and re-enable the OPC-UA server object. After it connects to Kepware, use the OPC-UA Configuration tool of Kepware to trust the certificate it received. Wait a few second and the connection should become healthy. 

 

Reply

Link copied. Please paste this link to share this article on your social media post.

MarkPitout
Lieutenant JG MarkPitout Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-22 02:54 AM . Last Modified: ‎2023-04-22 02:54 AM

In response to Abed
0 Likes
0
4152
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-22 02:54 AM . Last Modified: ‎2023-04-22 02:54 AM

@Abed If you like, you can contact me on teams: mark.pitout@se.com

Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2023-04-25 03:44 AM

1 Like
0
4110
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-25 03:44 AM

Thank you Mark.

The product test team are validating this - they have successfully got it to work with Kepware.

Expect an update to documentation.

Reply

Link copied. Please paste this link to share this article on your social media post.

MarkPitout
Lieutenant JG MarkPitout Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-26 07:50 AM . Last Modified: ‎2023-04-26 08:00 AM

0 Likes
0
4077
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-26 07:50 AM . Last Modified: ‎2023-04-26 08:00 AM

Note:

In the openssl.cnf file

After feedback from @Abed , remove this line

DNS.1 = <host name of the Geo SCADA server>

from the section [ alternate_names ].

 

This is required so that a pair (or trio) of redundant servers can all use the same certificate.

 

Alternatively, I think it could also be possible to put the following under the section [ alternate_names ]:

DNS.1 = <host name of the Geo SCADA server 1>

DNS.2 = <host name of the Geo SCADA server 2>

DNS.3 = <host name of the Geo SCADA server 3>

 

@sbeadle It would be nice if the product test team take a view on this.

Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2023-04-28 02:33 AM

0 Likes
0
4056
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-28 02:33 AM

Thanks Mark, we will review.

Reply

Link copied. Please paste this link to share this article on your social media post.

Killultagh
Ensign Killultagh
Ensign

Posted: ‎2023-09-19 04:29 AM

0 Likes
1
3244
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-09-19 04:29 AM

Can Schneider please provide documentation relating to Geo SCADA to OPC-UA connectivity (to Kepware)?

Reply

Link copied. Please paste this link to share this article on your social media post.

pradipkate
pradipkate
Cadet

Posted: ‎2024-05-06 02:54 AM

In response to Killultagh
0 Likes
0
2150
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-05-06 02:54 AM

Hi sir, have you got such document? If yes then can you please provide , because Im facing same issue.

Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2024-05-07 01:59 AM

1 Like
0
2127
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-05-07 01:59 AM

See this parent page: https://community.se.com/t5/Geo-SCADA-Knowledge-Base/OPC-UA-Driver-and-Server/ba-p/469566

 

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of