Symantec Access Management

  • 1.  OpenID Connect broken after upgrading from 12.7 to 12.8

    Posted Apr 24, 2018 12:00 PM

    Hello,

     

    wondering if anyone has met this problem.

    In a test environment we've just upgraded CA SSO & CA Access Gateway from 12.7 to 12.8

    A couple of OpenID Clients and an authorization server were defined before the upgrade, and the authorization flow ending up with the OpenID token was working properly.

    After upgrading, whenever viewing any OpenID or Authorization server objects throws exception on the AdminUI; its not possibile to edit existing objects neither add new ones.

     

    2018-04-23 23:59:16,046 ERROR [ims.ui] (default task-26) com.netegrity.webapp.page.TaskController: javax.faces.el.EvaluationException: Exception while invoking expression #{oidcAdminConfigList.viewModifyOpenIdAdminConfig} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:156) [myfaces-impl-1.1.5.jar:1.1.5]

     

    Besides the problem on the GUI, the flow with the Client application is broken too, at the very first step, when the authorization endpoint is called, this error message is printed in the logs FWSTrace Log on the gateway

     

    tClientInfoByClientID][Exception caught in class com.ca.federation.webservices.openidconnect.c, method getClientInfoByClientID: java.lang.IllegalArgumentException: "Cannot parse bytes to a Response"]
    ...[AuthorizationService.java][getClientInfo][Could not find client information for client: 000133bd-6f8d-1acc-9720-700a0acd0000 Message: null.]
    .....[AuthorizationService.java][getClientInfo][Could not find client information for clientID: 000133bd-6f8d-1acc-9720-700a0acd0000.]
    ......][AuthorizationService.java][processRequest][Transaction with ID: 25d1609e-a83bf0e6-ebfd3b2f-66311f76-84ea6785-b2 failed. Reason: NO_CLIENT_INFO]
    ........[AuthorizationService.java][processRequest][No client information found for clientID 000133bd-6f8d-1acc-9720-700a0acd0000.]



  • 2.  Re: OpenID Connect broken after upgrading from 12.7 to 12.8

    Posted Apr 24, 2018 12:04 PM

    christian.verdelli

     

    Just received the same error after upgrading from R12.52 SP1 CRXX to R12.8.

     

    We had run the XPSDDInstall and XPSImport, but it felt like the PStore took sometime to process that info.

     

    But after a few repeat attempts of re-running XPSDDInstall and restart of WAMUI / PS, it started working.

     

    The error is occurring because the Policy Server thinks it is missing R12.8 DataDefinitions.

     

    Believe you are doing inplace upgrade.

     

    Sequence

    1. Policy Server Binary Upgrade. https://docops.ca.com/ca-single-sign-on/12-8/en/upgrading/in-place-upgrade/upgrade-policy-server

    2. PStore Upgrade. XPSDDInstall and XPSImport. https://docops.ca.com/ca-single-sign-on/12-8/en/upgrading/in-place-upgrade/upgrade-policy-store 

    3. WAM UI Upgrade. https://docops.ca.com/ca-single-sign-on/12-8/en/upgrading/in-place-upgrade/upgrade-an-administrative-ui



  • 3.  Re: OpenID Connect broken after upgrading from 12.7 to 12.8

    Posted Apr 25, 2018 04:39 AM

    Thanks Hubert for your prompt reply.

     

    are the commands XPSDDInstall & XPSImport required ? From the documentation it seems so, just want to double check, as I'm afraid that this could possibly cause issues to the policy store or cause some kind of outage. 

     

    Thank you,

    Christian.



  • 4.  Re: OpenID Connect broken after upgrading from 12.7 to 12.8
    Best Answer

    Posted Apr 25, 2018 06:35 AM

    christian.verdellichristian.v

     

    Yes the commands are XPSDDInstall and the XPSImport, that are needed to upgrade the Policy Store. As of your concerns on PStore, we have to upgrade it some day, that is inevitable. So how do we address your concerns is by taking adequate backups. Take CA SSO PStore backup using XPSExport using -xb flag. Take store backup using VM snapshot or product features of the store itself. But here is my detailed thoughts on the overall process.

     

     

     

    ISSUE-1 : UI Issues

     

    My thoughts. There are updates to the feature OIDC in R12.8. Hence to use the new additions to the OIDC features we would need to update the Data Definitions.

     

    But this combination should/ must work in R12.7 capacity i.e Upgraded Policy Server Binary to R12.8 --> R12.7 PStore and R12.7 WAM UI. In this mode we should / must be able to use all OIDC functions in R12.7.

     

    This combination is invalid i.e. Upgraded Policy Server Binary to R12.8 / R12.7 PStore and Upgraded WAM UI to R12.8. We should / must upgrade first Policy Server binary, then PStore and only thereafter Upgrade WAM UI. I have a feeling from your comments, you are on this combination.

     

     

    Order of Migration Tasks

    Order of Migration Tasks - CA Single Sign-On - 12.8 - CA Technologies Documentation 

     

    Now we know for a fact that we are not going to upgrade everything in a single night. There will a period in time when we will running in hybrid mode.

     

    Phase-1 

    R12.8 PS / R12.7 PStore / R12.7 WAM UI.

     

    Phase-2 

    R12.8 PS / R12.8 PStore / R12.7 WAM UI.

     

    Phase-3

    R12.8 PS / R12.8 PStore / R12.8 WAM UI.

     

    I do see in the upgrade documentation (highlighted in Red below) very specific state with regards to R12.5x WAM UI not being able to communicate with R12.8 PS. It could also be possible due to the difference in 32 VS 64bit. Hence the statement WAMUI R12.5x or later cannot communicate with R12.8 PS, as R12.5x WAMUI is 32bit. This does beckon the thought how do we manage objects during migration phase when upgrading from a version which is R12.5x. There is an option to leave one PS to which the R12.5x WAMUI is connected on the same version as R12.5x PStore. Once R12.5x PStore is upgraded tp R12.8 PStore, use a new R12.8 UI.

     

    But nevertheless I think from R12.6 / R12.7 we should be able to latch R12.6 / R12.7 WAMUI to R12.8 PS until PStore is upgraded to R12.8; for administering objects. Clearly it seems if we connect R12.8 WAMUI to R12.8 PS without upgrading the PStore to R12.8, the results have been disastrous in my Customer testing. We ended up with many WAM UI issues in this combination R12.8 PS / R12.7 PStore / R12.8 WAM UI - even basic UI functionality were broken.

     

     

    ISSUE-2 : Functional Issue

     

    You do also state that the Authorization Code flow was broken. That is serious. Needs some more investigation. From my perspective anything existing should continue working BAU (highlighted in Red below) after Phase-1 (i.e. PS Binary Upgrade). I'd recommend raising a CA Support Case. We need to see why the ClientID was not fetched via the Policy Server. Need to have logs from CA AG, Policy Server.

     

     

     

    https://docops.ca.com/ca-single-sign-on/12-8/en/upgrading/in-place-upgrade#In-placeUpgrade-MaintainMixedEnvironments

    Maintain Mixed Environments

    As you migrate to 12.8, your environment can contain a combination of components at different versions. You do not have to upgrade all your components to 12.8.

    The following conditions exist in a mixed environment:

    • If your environment has a combination of components, 12.8 Policy Servers can continue to communicate with r12.5x or later policy stores during a migration. When you start a Policy Server, it detects the policy store version. If the policy store is operating at a previous version, the policy server runs in a compatibility mode until the store is upgraded as well.

      In compatibility mode, the Policy Server supports only those features from the older release.
    • If your environment has a mix of Policy Server versions, users can continue to access resources and have the same experience using 12.0 SP2 or 12.0 SP3 agents.
    • A mixed environment can support single sign-on.

    Review the following considerations before you migrate:

    • A 12.8 Policy Server can communicate with an r12.5x or later policy store.
    • A Policy Server version earlier than 12.52 SP2 cannot communicate with a 12.8 policy store.
    • A 12.5x or later Policy Server cannot connect to a 12.8 policy store.
    • A 12.52 SP2 Policy Server can communicate with a 12.8 policy store.
    • A 12.5x or later Policy Server can share a key store with a 12.8 Policy Server.
    • A 12.5x or later Policy Server can share a session store with a 12.8 Policy Server.
    • A 12.5x or later Administrative UI cannot communicate with a 12.8 Policy Server.
    • A 12.5x Web Agent can communicate with a 12.8 Policy Server.


  • 5.  Re: OpenID Connect broken after upgrading from 12.7 to 12.8

    Posted Apr 26, 2018 02:48 AM

    Thanks again Hubert.

     

    ran XPSDDInstall and the XPSImport, restarted both CA SSO and ADMIN UI, now its working properly !!

     

    Christian.



  • 6.  Re: OpenID Connect broken after upgrading from 12.7 to 12.8

    Posted Apr 26, 2018 03:35 AM

    Thank You Christian christian.verdelli

     

    Glad it resolved both issues. But in the wider scheme of upgrade phases, it is a defect that needs to be addressed by us (CA).

     

    I am not sure what your upgrade plans are, but we should raise a support case and have this investigated. I'll just leave that a final thought.