description |
---|
Below are the steps to copy SSL certificates from a local source to Ubuntu and from Windows to Ubuntu. |
From Local to Ubuntu:
- Please find the below command to copying ssl keys from local ubuntu to ubuntu server
sudo scp -i poc_key.pem <Name of the SSL keys > ubuntu@<IP>:~/
- After copying the files from local to server then we need to move the SSL keys (.crt and.key) to the mentioned path.
Path: cqube-devops/ansible/ssl_certificates
cp <ssl certificates> /home/ubuntu/cqube-devops/ansible/ssl_certificates
From Windows to Ubuntu:
- Please find the below link to copying ssl keys from windows machine to ubuntu server(winscp,filezilla)
https://www.hostgator.com/help/article/how-to-transfer-files-with-winscp
- After copying the files from windows to server then we need to move the SSL keys (.crt and.key) to the mentioned path.
Path: cqube-devops/ansible/ssl_certificates
cp <ssl certificates> /home/ubuntu/cqube-devops/ansible/ssl_certificates