Sunbird cQube
Ask or search…
⌃K

Copying SSL Certificate

Below are the steps to copy SSL certificates from a local source to Ubuntu and from Windows to Ubuntu.
From Local to Ubuntu:
  1. 1.
    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>:~/
  1. 2.
    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:
  1. 1.
    Please find the below link to copying ssl keys from windows machine to ubuntu server(winscp,filezilla)
  1. 2.
    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