Hi Joseph.
You are completely right. Thanks a million for looking into this.
I did some concrete tests , with checking the incoming client certs, and did some key selection changes on the sender side.
It did not reveal any misbehavior and that's the most important point.
I was looking at xml code to find references to hardcoded keys with a very simple approach by grepping for keyAlias tags in xml-code only:)
This has worked in the past (pre 11.1), but does not work anymore. So the condition to check, if a key is in use, got more complex.
Again thanks for confirmation !
Best regards
...Michael
-------------------------------------------
Original Message:
Sent: Feb 13, 2026 11:00 AM
From: Joseph Fry
Subject: potential Policy Manager issue
I was able to reproduce this on 11.2 as well.
I created a policy with only a routing assertion, observed that the XML in the databasae has no <L7p:NonDefaultKeystoreId goidValue="..."/> lines.
I set it to use a specific certificate, and the revised policy included that line.
Upon setting it back to use default, that line remained.
HOWEVER
In addition to that line, a line <L7p:UsesDefaultKeyStore booleanValue="false"/> is also created when assigning a certificate, and this line is deleted when reverting back to the default certificate.
I believe that there is no functional defect. I do not understand why the NonDefaultKeystoreId value remains when the policy is set to use the default, however without UsesDefaultKeyStore=false I suspect it it is ignored.
If there is some concern about this information remaining in the policy, or you observe that the gateway actually uses the wrong certificate, please open a ticket.