> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-ssl/import.md).

# import

The ssl import command imports an existing SSL certificate into a project.This command requires the SSL certificate file, private key file, and project ID, with an optional description.

## Usage

```
cldkctl ssl import [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl ssl import
```

2. Enter the certificate file path in .crt format when prompted.
3. Enter the private key file path in .key format when prompted.
4. Enter the description for the SSL certificate when prompted.

<figure><img src="/files/nR59feASh0UieKGdBT4n" alt=""><figcaption></figcaption></figure>

5. Confirm the import by pressing **y** for Confirm or **n** for Cancel.

<figure><img src="/files/xKRui303ZDgwuF2blv92" alt=""><figcaption></figcaption></figure>

6. Once completed successfully, the terminal displays **“✓ SSL certificate imported successfully!”**

<figure><img src="/files/SK1dM2WlUXbM7LQqu6CL" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details.
{% endhint %}

| Flag              | Description                          |
| ----------------- | ------------------------------------ |
| -c, --cert string | SSL certificate file in PEM format.  |
| -k, --key string  | Private key file in PEM format.      |
| -d, --desc string | Description for the SSL certificate. |
| -h, --help        | Help for ssl import command.         |

<br>
