search cancel

Issue deploying the encapsulated assertion

book

Article ID: 189164

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

I am trying to deploy/import a encapsulated assertion from one environment to another. but it is getting imported as a normal fragment and not the encapsulated assertion.

GatewayMigrationUtility.bat migrateOut --defaultAction NewOrUpdate --encryptUsingClusterPassphrase --folderName /xxx/xxx -excludeEncryptedSecrets  --format singleFile --includeOnlyServicePolicy --z  R:\yyyy --dest  R:\zzz.xml --clientCert R:\cert.p12  --encassAsPolicyDependency

 

 

Environment

Release : 9.x

Component : API GATEWAY

Resolution

The export  only has the policy as included fragment , but not the encapsulated assertion .

It should have also something like :

API
9b26deba0cd903760d3bd767f1181b2e
ENCAPSULATED_ASSERTION
2020-04-21T13:08:07.839+02:00

Testing showed a problem with a conflicting parameter
--includeOnlyServicePolicy

Please try without this one .

GatewayMigrationUtility.bat migrateOut --defaultAction NewOrUpdate --encryptUsingClusterPassphrase --folderName /xxx/xxx -excludeEncryptedSecrets  --format singleFile --z  R:\yyyy --dest  R:\zzz.xml --clientCert R:\cert.p12  --encassAsPolicyDependency