KB Article #178415

Import a certificate into a .fed file using a script

Problem

-- The scripts to import certificate in /samples/scripts/certs/ only work on a running configuration. How can I import certificates into a .fed file?

Resolution

- The scripts attached allow import of a certificate into a .fed file. Note that these are sample scripts. The path to the update .fed file is by default {apigateway_home}/samples/scripts/fed/file.fed, it can be be set using the fedFile variable, also the certificate path, password, and alias variables can be specified in variables in the script. If using these with projpack or projdeploy, you may need to be on the latest SP for it to work with the build scripts.