# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-ssl/import.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
