Hi together,
I want to check that the customers configuration of WinCC OA 3.17 is not allowing client-side authentication.
In "SSA-111512: Client-side Authentication in SIMATIC WinCC OA" it states that WinCC OA 3.17 is allowing client-side authentication in a non-standard configuration. https://cert-portal.siemens.com/product ... 11512.html
However, the WinCC OA 3.17 manual states that client-side authentication is allowed by default:
[general]
serverSideAuthentication = 0 (default)
How can I determine that SSA is active?
Can I e.g. somehow check the current state of the "serverSideAuthentication" config at runtime?
BR/Florian
How to check if SSA is active?
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: How to check if SSA is active?
You can use
its from scripts/libs/classes/auth/OaAuthMethod.ctl isServerSideAuthEnabled()
Code: Select all
(0 == paCfgReadValueDflt(getPath(CONFIG_REL_PATH) + "config", "webClient", "clientSideAuth", 1));- fandersen
- Posts:51
- Joined: Tue Aug 26, 2014 12:39 pm
Re: How to check if SSA is active?
Hi killian,
thanks for your answer but I meant the regular UI.
Sure, I could just check the config file if a certain option is present.
To the normal user, the authentication mechanism is transparent.
But how could I check at runtime that the SSA is actually active?
Is there any evidence that the option is active or deactivated? Maybe a log entry, global variable etc.?
BR
Florian
thanks for your answer but I meant the regular UI.
Sure, I could just check the config file if a certain option is present.
To the normal user, the authentication mechanism is transparent.
But how could I check at runtime that the SSA is actually active?
Is there any evidence that the option is active or deactivated? Maybe a log entry, global variable etc.?
BR
Florian
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: How to check if SSA is active?
The following DPEs are written:
_Ui_<X>.SessionToken
_System.Auth.SessionTokenInterface
I guess it could be used to determine if SSA is active.
_Ui_<X>.SessionToken
_System.Auth.SessionTokenInterface
I guess it could be used to determine if SSA is active.
- fandersen
- Posts:51
- Joined: Tue Aug 26, 2014 12:39 pm
Re: How to check if SSA is active?
Hi gschnijndel,
yeah, as a quick check this might be useful.
yeah, as a quick check this might be useful.