Migrating from MS ADCS to AVX Native CA
Network Prerequisite: Communication
| Port | Protocol | Direction | From | To | Purpose |
|---|---|---|---|---|---|
| 135 | TCP | Inbound/ Outbound | Autoenrollment Server Machine | All Windows machines in the domain | RPC Endpoint Mapper |
| 49152–65535 | TCP | Inbound/ Outbound | Autoenrollment Server Machine | All Windows machines in the domain | RPC Dynamic Ports |
| 30020 / 31443 / Custom LB Port | TCP | Outbound | Autoenrollment Server Machine | CC / AppViewX / Load Balancer | Communication with AppViewX |
| 3268 / Custom Global Catalog Port | TCP | Inbound | CC / AppViewX | Active Directory (AD) | Fetch SAN / Certificate details |
Migration Overview
To start the migration,
-
Go to Menu > PKI > CA Migration.
The Migration Overview page is displayed.
-
Select MSCA (ADCS).
Note: This option is currently enabled only for migration of MSCA (ADCS). The AppViewX Standard CA and EJBCA options are disabled.
- Click Continue.
Download Windows Gateway
Steps:
- Click Download Gateway to download the windows gateway package to the local machine. (Download and install the package before validating the connection.)
-
Enter the fields as follows:
Fields Description Gateway Setup Migration Name Enter a user-friendly name (maximum16-characters) to identify the migration. This name will be used in the WAEP agent configuration and template creating within AppViewX. : Note:- The migration name specified here will be used as a suffix when creating the AppViewX equivalent Template
- The new WAEP agent settings will also be created with the same migration name.
Server Configuration *Select Data Center Select the desired data centre to establish the connection. *Hostname Enter the hostname or FQDN where the Windows Gateway will be installed. Provide a fully qualified domain name only. *Port Enter the port number from which the Windows Gateway service listens. Default port is 8999, but a custom port can be provided if needed. Authentication Credentials *Authentication Select the authentication type to access the windows gateway machine: - Manual
- Credential List - Appviewx
*Username This field is enabled when the Authentication = Manual. Enter the username of the Windows Gateway machine.
*Password This field is enabled when the Authentication = Manual. Enter the password of the Windows Gateway machine.
*Credential List This field is enabled when the Authentication = Credential List Select the desired preconfigured credential list from the available options.
Certificate Configuration Client Authentication Certificate Upload the client authentication certificate that is used to authenticate with the Windows Gateway endpoint. Click Upload to select the certificate. Only .p12 or .pfx certificates are allowed.
You will be prompted to Enter Password for the certificate in the Authentication Details popup.
Note: (Optional) Click Remove Certificates to change the uploaded certificate. This option is displayed above the Save Configuration button only after the certificate is uploaded.*: Mandatory fields -
Click Update and Validate.
A connection established message is displayed if the Widows Gateway is found to be up and running. Then Continue button is enabled.
-
Click Continue.
The Validate Environment screen is displayed.
Validate Environment
(A) Active Directory / MSCA Side
The system verifies that the user running the utility has the required permissions to:
- Fetch Active Directory details (name or IP address)
- Confirm that the logged-in user has Enterprise Admin privileges
- Validate connectivity from the Windows Gateway to Active Directory over ports 88 and 389
(B) AppViewX PKI Side
The system verifies that the migration utility has:
- Permission to create new templates
- Permission to read and validate CA configurations
If any required permission is missing, the system blocks the migration and displays clear, actionable error messages indicating the missing permission and the steps to resolve it (e.g., updating AD group membership or assigning roles in AppViewX).
The system allows migration to proceed only after successful validation.
The following validation checks are displayed in the UI with status either as Granted or Failed.
Environment validation
- Retrieve domain name, domain controller, and network details from Active Directory
- Verify network connectivity to domain controller on port 88 (Kerberos) and port 389 (LDAP)
- Verify membership in Domain Admins security group for domain-level management operations
- Verify membership in Enterprise Admins security group for forest-level Certificate Authority operations
AppViewX Validation
- Create, modify, and manage Certificate Authorities in PKI-as-a-Service
- Download AppViewX Enrollment Server
- Create and manage service accounts for automation and integration
- Create and manage PKI certificate templates for automated enrolment
- Configure LDAP and Active Directory authentication settings
- Configure and manage Windows Auto-Enrollment Protocol agent settings
- View and access cloud connector configurations (only for SaaS – Cloud Connector)
Steps:
Map Auto-enrollment CAs
- Choose the Migration Strategy
- Perform the CA Selection
- Map and Migrate CAs
Migration Strategy
- Option 1 - Migrate Root CA to AppViewX - Full CA hierarchy
migration. The selected Root CA and the subordinate CA are recreated in
the AppViewX PKI.
- Recreates the Root CA in AppViewX PKI.
- Migrates all Subordinate CAs together.
- Selectively migrates Subordinate CAs; the system does not migrate unselected CAs.
- Option 2 - Keep Root CA in ADCS and Migrate Subordinate CAs -
Migrate only selected Subordinate CAs.
- Root CA remains in Microsoft.
- Migrates all selected Subordinate CAs together.
- AppViewX PKI acts as the Issuing CA only.
Steps:
CA Selection
- CA Discovery
- Automatically initiates CA discovery after selecting a migration strategy.
- Discovers all Root CAs in the current AD domain and forest.
- Discovers all Subordinate CAs under each Root CA.
Steps:
-
If you selected Migrate Root CA to AppViewX in the CA Selection
screen,thenselect the appropriate Root CA and Subordinate CAs.
OR
If you selected Migrate Root CA to AppViewX in the CA Selection screen,thenselect the Subordinate CAs.
-
Click Continue.
The Map and Migrate page is displayed.
Map and Migrate
- Existing AppViewX PKI CAs of the appropriate type (Root or Subordinate), or
- An option to Create New PKI CA if no suitable CA exists.
Selecting Create New PKI CA redirects the user to the Create AppViewX PKI CA page and, once completed, returns the user to the mapping flow with the newly created CA available for selection.
For existing ADCS Root and Sub CAs, only AppViewX PKI Root CAs and AppViewX PKI Subordinate CAs are shown respectively. When migrating Root and Subordinate CAs together the hierarchical awareness is maintained on the UI—Once Root CA is mapped, existing Sub CAs under that AppViewX Root are shown preferentially. Subordinate CA mapping respects the selected Root CA hierarchy.
Steps:
- Select the appropriate AppViewX PKI Root CA and Subordinate CA from the dropdown on the right side of the page for the corresponding Microsoft CAs on the left.
-
(Optional) If there are no AppViewX PKI CAs displayed in the
dropdown, then click Create New PKI CAand add the CA
details.
Note: After creating the CA, go back to the Map & Migrate page and click the ‘Refresh’ icon next to the dropdown field to display the newly created CA in it.
-
Click Continue.
The Review Template page is displayed.
Review Templates
During discovery, the templates marked for auto-enrollment are detected and are badged for easy identification. After retrieval, a consolidated list of templates is displayed with the following attributes:
- Name (MS template name prefixed with AVX_PKI)
- OID (Object Identifier)
- (Certificate) Validity Period
- Renewal Period
- Key Length
- EKU (Extended Key Usage)
Users are allowed to choose one or more templates from the list for subsequent migration steps.
Steps:
- Select one or more templates.
-
Click Continue.
The Configure Template page is displayed.
Configure Templates
After creation, a summary view is displayed with the following details:
- Source MS AD Template
- Corresponding AppViewX Template (suffixed with the Migration name)
- Issuer Name
- Certificate Group
An Edit option is provided for each template, allowing users to modify the issuer and/or certificate group before proceeding with the migration.
Steps:
-
In the Map AD published templates with AVX templates screen, click
Create Certificate Group.
The Create Certificate Group pop-up is displayed.
-
In the Create Certificate Group pop-up, enter the usergroup name and
click Save.
The next screen will have the Create All Equivalents button.
-
Click Create All Equivalents.
A summary view is displayed with the following details:
- MS Template
- AppViewX Template (suffixed with the Migration name)
- Issuer Name
- Certificate Group
- Action (Edit option)
-
(Optional) If the issuer name is blank or to change the issuer name
and certificate group, click the edit option in the Action
column.
The Modify Template page is displayed on the right.
- (Optional) From the Modify Template page, update the Certificate Group, Issuer Name, or AppViewX Template and click Save Changes.
-
Click Continue.
The Configure WAEP screen is displayed.
Configure WAEP
-
In the Configure WAEP screen, enter the details as follows:
Fields Description Endpoint Details *Name The name field is read only and auto-populated by default with the Migration name set in the Download Windows Gateway stage. *IP/FQDN The dropdown list field contains a list of FQDN's from the stored data. Users can choose from the available values. The hostname format is <tenant>-aep.<domainname>. For Onprem the list is populated with the On-Prem node details. Select any one of the values.
For SaaS the list is populated with the hostname of the Cloud Connector and AEP Gateway details.- Using On-premises CC
- Without load balancer:It is the hostname of the cloud connector where the auto-enrollment gateway is running.
- With load balancer: Manually enter the hostname of the cloud connector.
- Using Direct Gateway: In the SaaS setup, to use the direct AEP gateway without installing the cloud connector, the FQDN/IP address will be the tenant URL with "-aep" before the domain name.
*Port The port number is auto-populated based on the selected IP/FQDN value. If the IP/FQDN value is entered manually, then enter the appropriate port number.- HTTPS URL (always)
- Onprem - 31443
- SAAS - 30020
*Datacenter Select the data center. The value is auto-populated based on the cloud connector. Global Catalog Configuration *LDAP URL List of LDAP/LDAPS configurations fetched from Platform. Configure LDAP Page A link below the LDAP URL field that redirects to Platform page to add the LDAP/LDAPS configurations. Refer to the section Configuring LDAP for WAEP for more details.
Sync Fetches latest LDAP configuration data from Platform. *LDAP Base DN This field is displayed after selecting value in the LDAP URL field. If AD sync is enabled, the LDAP base DN is auto-populated based on the IP address of the global catalog server selected from the LDAP URL dropdown list.
*: Mandatory fields - Using On-premises CC
-
Click Create WAEP agent.
The new WEAP agent setting will be configured in the Auto-Enrollment: Windows AEP page (Go to Menu > CLM > Administration > Auto Enrollment > WAEP).
The Setup Enrollment Server screen is displayed.
Setup Enrollment Server
After successful WAEP configuration and validation, the system progresses to the Enrollment Server setup stage.
- System Actions:
- Displays the generated WAEP URL.
- Provides option to download the AppViewX Enrollment Server package (with embedded WAEP URL).
- During Download:
- Creates a backend service account for installation and ongoing communication.
- Post Download:
- Displays setup instructions including:
- Hostname, port, and agent details
- Service account Client ID and Secret (to be added in the configuration file)
- Once downloaded, refer Installing AppViewX Enrollment Server and perform the listed steps.
- Prompts the user to start the service after completing setup.
- Displays setup instructions including:
- User Action:
- Provides confirmation to execute a system-initiated configuration script
- Follow the steps mentioned in Configuring Permissions for AppViewX to provide permissions for the auto enrolment server.
- System Actions (Script Execution):
- Registers CA as an Enrollment Service in Active Directory
- Adds selected certificate templates to the CA
- Publishes Root and Intermediate certificates as trusted certificates in the domain
- Completion
- System triggers script execution remotely on the target host
- Validates each step for successful completion
- On success, allows the user to proceed to the next validation stage
Steps:
- In the Setup Enrollment Server page, the first stage ——Download & prepare, the WAEP URL field is displayed and is read-only. Copy and save and URL for future reference.
-
Click Download & prepare button.
The AppViewX enrolment server zip file is downloaded successfully.
-
Follow the installation instruction specified on the screen. Use the
AppViewX enrolment server, client details and secret to complete the
installation and start the service.
Note:
- The AppViewX enrolment server must be installed in the same machine where the Windows gateway was installed at the start of the migration journey.
- After the dwnload is complete, refer to the section Installing AppView Enrollment Server to perform the installation.
-
Click Continue.
The Setup Enrollment Server page, second stage ——Install and run page is displayed with the set of instructions.
- Follow the steps mentioned in the Instructions to provide permissions for the Auto enrolment server. Additionally, refer to the section Configuring Permissions for AppViewX.
-
Click the I approve AppViewX to install on the machine
checkbox.
The Run setup button is enabled.
-
Click Run setup.
The following script executions are performed at the backend:
- Registering CA as an Enrollment Service in Active Directory
- Adding selected certificate templates to the CA
- Publishing Root and Intermediate certificates as trusted certificates in the domain
- Click Finish.
