The Cisco Asa Orchestrator will manage certificates on the Cisco Asa Device.
This repository contains a Universal Orchestrator Extension which is a plugin to the Keyfactor Universal Orchestrator. Within the Keyfactor Platform, Orchestrators are used to manage “certificate stores” — collections of certificates and roots of trust that are found within and used by various applications.
The Universal Orchestrator is part of the Keyfactor software distribution and is available via the Keyfactor customer portal. For general instructions on installing Extensions, see the “Keyfactor Command Orchestrator Installation and Configuration Guide” section of the Keyfactor documentation. For configuration details of this specific Extension see below in this readme.
The Universal Orchestrator is the successor to the Windows Orchestrator. This Orchestrator Extension plugin only works with the Universal Orchestrator and does not work with the Windows Orchestrator.
Cisco Asa Orchestrator is supported by Keyfactor for Keyfactor customers. If you have a support issue, please open a support ticket via the Keyfactor Support Portal at https://support.keyfactor.com
To report a problem or suggest a new feature, use the Issues tab. If you want to contribute actual bug fixes or proposed enhancements, use the Pull requests tab.
The minimum version of the Keyfactor Universal Orchestrator Framework needed to run this version of the extension is 10.2
The Keyfactor Universal Orchestrator may be installed on either Windows or Linux based platforms. The certificate operations supported by a capability may vary based what platform the capability is installed on. The table below indicates what capabilities are supported based on which platform the encompassing Universal Orchestrator is running.
Operation | Win | Linux |
---|---|---|
Supports Management Add | ✓ | |
Supports Management Remove | ✓ | |
Supports Create Store | ||
Supports Discovery | ||
Supports Renrollment | ||
Supports Inventory | ✓ |
This orchestrator extension has the ability to connect to a variety of supported PAM providers to allow for the retrieval of various client hosted secrets right from the orchestrator server itself. This eliminates the need to set up the PAM integration on Keyfactor Command which may be in an environment that the client does not want to have access to their PAM provider.
The secrets that this orchestrator extension supports for use with a PAM Provider are:
Name | Description |
---|---|
ServerUsername | The user id that will be used to authenticate into the server hosting the store |
ServerPassword | The password that will be used to authenticate into the server hosting the store |
StorePassword | The optional password used to secure the certificate store being managed |
It is not necessary to use a PAM Provider for all of the secrets available above. If a PAM Provider should not be used, simply enter in the actual value to be used, as normal.
If a PAM Provider will be used for one of the fields above, start by referencing the Keyfactor Integration Catalog. The GitHub repo for the PAM Provider to be used contains important information such as the format of the json
needed. What follows is an example but does not reflect the json
values for all PAM Providers as they have different "instance" and "initialization" parameter names and values.
General PAM Provider Configuration
To use a PAM Provider to resolve a field, in this example the Server Password will be resolved by the Hashicorp-Vault
provider, first install the PAM Provider extension from the Keyfactor Integration Catalog on the Universal Orchestrator.
Next, complete configuration of the PAM Provider on the UO by editing the manifest.json
of the PAM Provider (e.g. located at extensions/Hashicorp-Vault/manifest.json). The "initialization" parameters need to be entered here:
"Keyfactor:PAMProviders:Hashicorp-Vault:InitializationInfo": {
"Host": "http://127.0.0.1:8200",
"Path": "v1/secret/data",
"Token": "xxxxxx"
}
After these values are entered, the Orchestrator needs to be restarted to pick up the configuration. Now the PAM Provider can be used on other Orchestrator Extensions.
With the PAM Provider configured as an extenion on the UO, a json
object can be passed instead of an actual value to resolve the field with a PAM Provider. Consult the Keyfactor Integration Catalog for the specific format of the json
object.
To have the Server Password field resolved by the Hashicorp-Vault
provider, the corresponding json
object from the Hashicorp-Vault
extension needs to be copied and filed in with the correct information:
{"Secret":"my-kv-secret","Key":"myServerPassword"}
This text would be entered in as the value for the Server Password, instead of entering in the actual password. The Orchestrator will attempt to use the PAM Provider to retrieve the Server Password. If PAM should not be used, just directly enter in the value for the field.
The Cisco Asa Orchestrator Manages Only Identity Certificates and TrustPoints on the Cisco Asa Device. It manages bindings on the Remote Access VPN for those certificates.
Note: Some of the functionality uses the CLI through the API which returns command line strings. This may be fragile especially inventory bindings if the CLI return changes between versions of the product.
Cisco Asa Certificate Store Type
In Keyfactor Command create a new Certificate Store Type as specified below:
Basic Settings:
CONFIG ELEMENT | VALUE | DESCRIPTION |
---|---|---|
Name | Cisco Asa | Display name for the store type (may be customized) |
Short Name | CiscoAsa | Short display name for the store type |
Custom Capability | Leave Unchecked | Store type name orchestrator will register with. Check the box to allow entry of value |
Supported Job Types | Inventory, Add, Remove | Job types the extension supports |
Needs Server | Checked | Determines if a target server name is required when creating store |
Blueprint Allowed | Checked | Determines if store type may be included in an Orchestrator blueprint |
Uses PowerShell | Unchecked | Determines if underlying implementation is PowerShell |
Requires Store Password | Unchecked | Determines if a store password is required when configuring an individual store. |
Supports Entry Password | Unchecked | Determines if an individual entry within a store can have a password. |
Advanced Settings:
CONFIG ELEMENT | VALUE | DESCRIPTION |
---|---|---|
Store Path Type | Freeform | Determines what restrictions are applied to the store path field when configuring a new store. |
Store Path Value | N/A | N/A for Freeform. |
Supports Custom Alias | Required | Determines if an individual entry within a store can have a custom Alias. |
Private Keys | Required | This determines if Keyfactor can send the private key associated with a certificate to the store. Cisco Asa requires private keys. |
PFX Password Style | Default or Custom | "Default" - PFX password is randomly generated, "Custom" - PFX password may be specified when the enrollment job is created (Requires the Allow Custom Password application setting to be enabled.) |
Custom Fields:
Custom fields operate at the certificate store level and are used to control how the orchestrator connects to the remote target server containing the certificate store to be managed
Name | Display Name | Type | Default Value / Options | Required | Description |
---|---|---|---|---|---|
CommitToDisk | Commit To Disk | bool | False | Yes | This controls if you will write to the disk or memory on the device when adding or removing certificates. |
spnwithport | SPN With Port | Bool | false | No | Internally set the -IncludePortInSPN option when creating the remote PowerShell connection. Needed for some Kerberos configurations. |
ServerUsername | Server Username | SecretdoublepipeNo | The username to log into the target server (This field is automatically created). Check the No Value Checkbox when using GMSA Accounts. | ||
ServerPassword | Server Password | SecretdoublepipeNo | The password that matches the username to log into the target server (This field is automatically created). Check the No Value Checkbox when using GMSA Accounts. | ||
ServerUseSsl | Use SSL | Bool | true | Yes | Determine whether the server uses SSL or not (This field is automatically created) |
Entry Parameters:
Entry parameters are inventoried and maintained for each entry within a certificate store. They are typically used to support binding of a certificate to a resource.
Name | Display Name | Type | Default Value | Required When | Description |
---|---|---|---|---|---|
interfaces | Interfaces Comma Separated | String | All Unchecked | Comma separated list of Interfaces to bind to. One can be the primary certificate and the other can be the load balancing certificate. For inside here is a sample of binding to both primary and load balancing inside,inside vpnlb-ip. |
None of the above entry parameters have the "Depends On" field set.
Click Save to save the Certificate Store Type.
Once the Certificate Store Types have been created, you need to create the Certificate Stores prior to using the extension. Here are the settings required for each Store Type previously configured.
Cisco Asa Certificate Store
In Keyfactor Command, navigate to Certificate Stores from the Locations Menu. Click the Add button to create a new Certificate Store using the settings defined below.
CONFIG ELEMENT | DESCRIPTION |
---|---|
Category | Select Cisco Asa or the customized certificate store display name from above. |
Container | Optional container to associate certificate store with. |
Client Machine | Hostname or IP of the Cisco Asa Device without the http:// or https:// prefix same sample would be 10.5.0.4. |
Store Path | Cisco Asa Certificate Types to manage for Now all that is supported is /Identity. |
Orchestrator | Select an approved orchestrator capable of managing Cisco Asa Certificates (one that has declared the CiscoAsa capability) |
Commit To Disk | False to write to device memory only (running config will be gone after a reboot) or true to write to disk (startup config in Cisco Asa) |
Server Username | Account to use when accessing the Cisco Asa Api Needs privilege level 15. |
Server Password | Password to use when accessing the Cisco Asa Api. |
Use SSL | Connect to the Cisco Asa Api using SSL. |
Inventory Schedule | The interval that the system will use to report on what certificates are currently in the store. |
Click Save to save the settings for this Certificate Store