Managing the package signing certificate
When you export a package of workflows and actions, Orchestrator signs it, so whoever imports it can see where it came from and that nobody has changed it on the way. The signing certificate is generated for you, from the appliance’s network settings, the first time the appliance boots. Most of the time you never think about it. This recipe covers the three times you do: when you want to give it a proper name, when the appliance’s hostname changes, and when package export breaks.
Getting ready
- An Orchestrator login with administrator rights.
- A package to test with. If you don’t have one yet, create an empty package called
com.vcfguide.chapter2under Assets > Packages. Chapter 6 covers packages properly.
How to do it
- See the current certificate. In the Orchestrator Client, go to Administration > Inventory, expand Configuration > Keystores > Dunes, and select the certificate. Note its subject and its
notAfterdate.
Administration > Inventory > Configuration > Keystores > Dunes, with the signing certificate selected and its subject and validity dates visible in the details pane.
- Decide whether you need a new one. Regenerate it if the appliance’s FQDN has changed, if the certificate is close to expiry, or if you want packages to carry a meaningful name such as your team’s.
- Generate a new certificate. Go to Library > Workflows, search for
package signing, and run Generate Package Signing Certificate. - Fill in the inputs:
- Common name: a name people will recognise when they import your packages, such as
vco01.vmw.laborVMW Lab Orchestrator. - Signature algorithm: keep the default unless your security policy says otherwise.
- Leave the organization, country, and other inputs at their defaults, or fill them in if you want them shown on import.
- Common name: a name people will recognise when they import your packages, such as
Run dialog of Generate Package Signing Certificate, with Common name set to VMW Lab Orchestrator and the signature algorithm drop-down open.
- Click Run and wait for the green tick in Activity > Workflow Runs.
- Go back to Keystores > Dunes and confirm the certificate now shows your common name and new dates.
- Test it. Go to Assets > Packages, open
com.vcfguide.chapter2, and export it. The export should download a.packagefile without an error.
How it works
Orchestrator keeps its own certificates and keys in keystores, stored in its database rather than on the appliance’s disk. You’ll see at least three in the inventory:
| Keystore | What it holds |
|---|---|
| Dunes | The package signing certificate and its private key. The name goes back to Dunes, the company that first built Orchestrator. |
| CA Keystore | Certificates of other systems that workflows are allowed to trust (see recipe 2.2). |
| SSO Keystore | Certificates used when Orchestrator talks to its authentication provider. |
When you export a package, Orchestrator signs its contents with the private key in Dunes and embeds the certificate in the file. When someone imports the package, Orchestrator checks the signature and shows them the certificate, so they can decide whether to trust it.
Generating a new certificate replaces the old one. Packages you export from now on carry the new certificate. Packages you exported before keep the old one, and they still import, because the certificate travels inside each package.
There's more
Package export fails with “500, OK”. After an upgrade to 9.0 or 9.1.0, creating or exporting a package can fail with a 500, OK error, and the server log shows a NullPointerException from the keystore code. The signing certificate is missing or damaged. Broadcom’s workaround is to remove the damaged keystore and generate a fresh certificate:
- Go to Library > Workflows, open the Configuration > Keystores folder, and run Delete a keystore. Select Dunes.
- Run Generate Package Signing Certificate as in steps 3 to 5, with just a common name.
- Export a package to confirm the fix.
Bringing your own signing certificate. If your organization wants packages signed with a certificate from its own CA, there’s no import button any more. The Configuration > Keystores workflow folder has workflows for adding keys and certificates to a keystore, which may cover it.
Clusters share one certificate. The keystores live in the database, which a cluster shares, so all three nodes sign packages with the same certificate. You only generate it once.
Expiry. An expired signing certificate makes your packages harder to trust, even if they still import. Check the date in step 1 once a year.
See also
- 2.2 Replacing the appliance certificate, for the TLS certificate and the CA Keystore.
- Chapter 6, on exporting and importing packages.
- Broadcom KB 445863: package creation fails with “500, OK” after upgrading to 9.0 or 9.1.0.
- Broadcom KB 442343: regenerating certificates in the Dunes keystore.
- Broadcom TechDocs: Manage VCF Operations orchestrator certificates.
