Knowledge Walls
J2EE Technologies Tutorial
Hyderabad, Andhra Pradesh, India
How to Copy letsencrypt ssl certificate to another server in 3 Steps?
91 Views
Copy renewal-ed SSL certificate from AWS instance to another instance 
1) Renewal the primary server using
      sudo certbot certificates
      sudo certbot certonly --manual -d 'example.com,*.example.com' 

2) Encrypt full directory in Renewaled instance
    
tar zpcvf backup_etc-letsencrypt_2021-Sep-20.tar.gz /etc/letsencrypt/

4) Copy the tar file from Primary instance to another instance (Note make sure you copied pem file into instance to access the instance).
    sudo scp -r -i /home/bitnami/keys/ssh-pair-key-new.pem bitnami@15.207.198.130:/home/bitnami/backup_etc-letsencrypt_2021-Sep-20.tar.gz /home/bitnami/

5) Extract the copied file from US server
    tar zxvf backup_etc-letsencrypt_2021-Sep-20.tar.gz -C /

6) Restrat the instances.
Next
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details