# Copying SSL Certificate

**From Local to Ubuntu:**

1. Please find the below command  to copying ssl keys from local ubuntu to ubuntu server&#x20;

&#x20;               sudo scp -i poc\_key.pem \<Name of the SSL keys > ubuntu@\<IP>:\~/

2. After copying the files from local to server then we need to move the SSL keys (.crt and.key) to the mentioned path.

&#x20;              Path: cqube-devops/ansible/ssl\_certificates

&#x20;              cp \<ssl certificates> /home/ubuntu/cqube-devops/ansible/ssl\_certificates

**From Windows to Ubuntu:**

1. Please find the below link  to copying ssl keys from windows machine to ubuntu server(winscp,filezilla)

&#x20;             <https://www.hostgator.com/help/article/how-to-transfer-files-with-winscp>

2. After copying the files from windows to server then we need to move the SSL keys (.crt and.key) to the mentioned path.

&#x20;            Path: cqube-devops/ansible/ssl\_certificates

&#x20;             cp \<ssl certificates> /home/ubuntu/cqube-devops/ansible/ssl\_certificates


---

# 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://cqube.sunbird.org/get-started-on-cqube/copying-ssl-certificate.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.
