Hello,
In my installation I use 2 types of hosts runnig UI Linux and Windows.
This hosts are connecting via Apache and mxProxy.
In Linux, certificates are stored in files.
In Windowsm is possible to store certificates in Windows Certificate Store.
This requires special entries in config files.
eq. mxProxy="server proxy_server:port cert"
But it works for filebased certificates. For Windows Certificate Store I need to use config "WinCert"
How can I create different configs to distinguish Linux and Windows Clients?
Best Regards
UI and config.webclient
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: UI and config.webclient
Unfortunately you can not create a common config that distinguishes between Linux or Windows.
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: UI and config.webclient
You could try to add the entries for windows in 'config.nt' and for Linux in 'config.linux'.
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: UI and config.webclient
Nice that works automatically?gschijndel wrote: ↑ Tue Feb 02, 2021 1:08 pm You could try to add the entries for windows in 'config.nt' and for Linux in 'config.linux'.
- mkerk
- Posts:75
- Joined: Wed Oct 20, 2010 12:25 pm
Re: UI and config.webclient
yes. works automatically.
config files are read in the following order:
Project config file,
config.level file
"config.<os>" (config.nt or config.linux)
config.redu file (in case of a redundant project)
If you activate -dbg 2 on startup of the UI, then you will see which config-files are loaded in which order.
config files are read in the following order:
Project config file,
config.level file
"config.<os>" (config.nt or config.linux)
config.redu file (in case of a redundant project)
If you activate -dbg 2 on startup of the UI, then you will see which config-files are loaded in which order.
- ask
- Posts:28
- Joined: Tue Nov 29, 2016 11:37 am
Re: UI and config.webclient
Thanks!
But I have another questions:
1. Are this files (config.nt, config.linux) automatically loaded via http server or I have distrtibute it manually? If both exists (.nt and .linux) are both loaded or only this one which matches operating system on client?
2. If I have entry in "common" config and the same entry in e.q. config.nt which one is used?
3. Can I use different entries for "securityMode" depending on certain ui manager number?
Best Regards
But I have another questions:
1. Are this files (config.nt, config.linux) automatically loaded via http server or I have distrtibute it manually? If both exists (.nt and .linux) are both loaded or only this one which matches operating system on client?
2. If I have entry in "common" config and the same entry in e.q. config.nt which one is used?
3. Can I use different entries for "securityMode" depending on certain ui manager number?
Best Regards
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: UI and config.webclient
If you want to use specific settings for a manager with a given number you can use the following syntax for the definition of sections in the config file:
[<manager type>_<num>]
E.g. [ui_10]
This only works if the manager is then started explicitely with this number using the "-num" startup parameter.
First of all the "config" file is loaded. If there are other files existing they are loaded afterwards. An entry in "config.nt" will overwrite the same entry defined in "config".
There is no need to disribute the config files manually to the client. During startup in the HTTP-server the files are loaded and merged to one config file which is then copied to the client.
Best Regards
Leopold Knipp
Senior Support Specialist
[<manager type>_<num>]
E.g. [ui_10]
This only works if the manager is then started explicitely with this number using the "-num" startup parameter.
First of all the "config" file is loaded. If there are other files existing they are loaded afterwards. An entry in "config.nt" will overwrite the same entry defined in "config".
There is no need to disribute the config files manually to the client. During startup in the HTTP-server the files are loaded and merged to one config file which is then copied to the client.
Best Regards
Leopold Knipp
Senior Support Specialist
- ask
- Posts:28
- Joined: Tue Nov 29, 2016 11:37 am
Re: UI and config.webclient
Thank You!
But what about config.webclient file? Is this file used by UI manager (WCCOAui) instead of config file?
Or content of config.webclient file replaces relevant entires in config file?
And is it done before or after config.<os> is read?
Best Regards
But what about config.webclient file? Is this file used by UI manager (WCCOAui) instead of config file?
Or content of config.webclient file replaces relevant entires in config file?
And is it done before or after config.<os> is read?
Best Regards
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: UI and config.webclient
As far as I know the loading order is config --> config.webclient --> config.nt.
A config.nt (OS related config file) is only needed if you use different operating systems in one WinCC OA project, e.g. a UI started on Windows and one UI started at Linux.
Best Regards
Leopold Knipp
Senior Support Specialist
A config.nt (OS related config file) is only needed if you use different operating systems in one WinCC OA project, e.g. a UI started on Windows and one UI started at Linux.
Best Regards
Leopold Knipp
Senior Support Specialist