> Source: [sk178748](https://support.checkpoint.com/results/sk/sk178748)

# sk178748 - SmartConsole Management mode - importing existing policy

| Property | Value |
|----------|-------|
| Solution ID | sk178748 |
| Date Created | 2022-09-07 |
| Last Modified | 2023-09-05 |
| Technical Level | General |

## Solution

Background
----------

You can manage the Check Point Harmony Connect Internet Access policy through:  

* Infinity Portal
* SmartConsole

Users who manage their Harmony connect policy using SmartConsole can Import their existing on-prem policy to their Harmony connect Management.  
Once the policy is imported, it can be managed directly from Harmony connect Management.  

The tool will import the Access, Threat Prevention and HTTPS Inspection policies.  

Procedure
---------

### Prerequisite

In order to import the policy, SmartConsole management mode needs to be enabled in the Infinity Portal under Settings \> Management Mode.  

### Prepare an API Key

Your on-premises Security Management Server has to connect securely to your account on the Check Point Infinity Portal using an API Key.  

In the Infinity Portal, navigate to Global Settings \> API Keys.  
Create a new API Key.  
Set the Service to Connect.  
Optionally, set the expiration date and provide a meaningful description.   

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/sk156632_API_HarmonyC202107291248501202209061445031.png)  

An API Key consists of a Client ID and a Secret Key. Both are used in the next step.  

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/Created-API-Key202107120800383202209061445412.png)  

### Install the Migrate Cloud Policy component on your on-premise Security Management Server

In the Management Mode page, under Export \& Import section , you will be able to download a component for your on-premises Security Management Server.   

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/migrate_policy202209061450363.png)  

Note: This component is version-independent and, therefore, can be installed on any security management server of version R80.20 and above.  

Upload that component to your Security Management Server. It is important that you save it directly under the folder *$FWDIR*   

1. Extract that component by running: *tar xvzf migrate-cloud-policy.tar*   

2. Set read and execute permissions for the extracted folder.  

3. Navigate to the extracted folder and run: *./config-migrate-cloud-policy.sh*   

This script will ask you to provide your Infinity Portal API Key, so that changes made at your on-premises Security Management Server will get deployed at your Infinity Portal account.   

The script will also ask you to provide the one policy package at your Security Management Server that represents all your branch offices. This will ensure that administrators do not mistakenly migrate the wrong policy in the cloud. Note that the policy package does not need to exist at the time of running the script. Administrators who attempt to install a policy package with a name different from the name specified here will get an error message.   

The script completes by assuring the integration has been set.  
You can re-run this script later if your Infinity Portal API Key has changed, or if your branch office security policy package name has changed. Re-running *./config-migrate-cloud-policy.sh* replaces the existing configuration and there is no need to "uninstall" the component.  

Note: In case the default Management API port was changed, you need to configure the environment variable "*MGMT_CLI_PORT* " with the value of the new Management API port.   

### SmartConsole (source): Add a SmartConsole Extension

**Note** : Each administrator needs to repeat this step.  

1. Open the on-prem SmartConsole and navigate to Manage \& Settings \> Preferences.  

2. Scroll down to SmartConsole Extensions.  

Add the Install Cloud Policy extension to SmartConsole by clicking the + button and typing this manifest URL: *https://migrate-cloud-policy-extension.s3.amazonaws.com/migrate-cloud-policy.json*   

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/add_extension202209061527571.png)  

Confirm the addition of this extension.  

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/approve_extension202209061528112.png)  

A pop-up window indicates that the extension was added successfully to SmartConsole and that a new button should appear at the toolbar of each Access Control security policy.  

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/extension_pop_up202209061528263.png)

### How to migrate your policy from SmartConsole to the cloud

On the on-prem SmartConsole, navigate to Security Policies.  

Open the one policy that represents your branch offices. You should see a new button called **Migrate Cloud Policy** .  

Clicking Migrate Cloud Policy will send your security policy from your on-premises Security Management Server to the Check Point cloud.   

Note: You will be requested to approve this operation. Click OK on the consecutive pop-up window that request approval.  

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk178748/migrate_extension202209061537241.png)  

You can track its progress by clicking the Check Status button on the Migrate Cloud Policy pop-up window.  

Note: Clicking Check Status will ask you to approve this operation. Click OK on the pop-up window.  

Note: The task notification at the bottom-left corner of SmartConsole only indicates that an Migrate Cloud Policy has started. When the task completes, it does not mean that the policy migration completed.  

Currently, the only way to know whether a policy migration in the cloud is completed is by clicking Refresh Status on the Migrate Cloud Policy pop-up window and waiting for a status update that says Migrate Policy Completed.  

Attempts to run Migrate Cloud Policy on a policy that has a name different from the name that was configured on your Security Management Server (see "Install the Migrate Cloud Policy component on your server" will fail, and will not modify the policy for your branch offices.  

### Extension Known Limitations

1. Multi-Domain and Standalone environments are currently not supported.
2. SmartConsole managed from Quantum Smart-1 Cloud is not supported.
3. This solution supports securing branch offices and Harmony Connect Agent remote users going to the Internet. Securing branch offices or remote users going to corporate applications is not supported.
4. You can only manage your Internet Access Policy from either Infinity Portal or from SmartConsole, but not from both.
5. Reverting to managing your Policy from Infinity Portal is not supported
6. R80.20 Management Server and above is required.
7. This feature assumes that the Security Management Server has connectivity to the Internet over HTTPS.
8. Policy package name can contain only alphabetical characters and numbers
9. Install On column is not supported.
10. SmartConsole Extension will not work if logging to the SmartConsole with the machine FQDN instead of IP.
11. Content Awareness blade is not supported.
12. Enabling XFF on an Access Layer is not supported.
13. Layers: Inline layers are fully supported, Ordered Layers are not supported.
14. Only the selected policy package and its objects are being migrated, other settings like Global properties are not being migrated and needs to be set manually after the migration
15. The following objects are not supported:
    * Dynamic Objects
    * Any Gateway or server objects: Gateways, Clusters, VSX Gateways, VSX Clusters, Interoperable Devices, Logical Servers
    * Access Roles
    * VPN Communities
16. Objects are imported with "_IMPORTED_BY_EXTENSION_\<TIME_STAMP\>" suffix, this suffix needs to be removed manually for Domain objects after the import
17. All rules whose action is set to block will have the default UserCheck Blocked page. Customizing the UserCheck object or changing it from Block to Ask or Inform, is supported only on the Harmony Connect SmartConsole after the import.
18. Changing the Track options is fully supported, except for the setting to generate session logs to firewall-only connections.
19. The Security Management API call for install-policy does not support installing the policy in the cloud. Instead, the following script can be used: ./$MDS_FWDIR/migrate-cloud-policy/export_policy.sh \<policy package name\>
20. Security Management Servers in which the port for running the Security Management API was changed from its default is currently not supported.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
