https://youtu.be/mabYirI7BLc
http://mydres.com/
sudo certbot certonly --manual --preferred-challenges=dns -d mydres.com -d www.mydres.com
https://dcc.godaddy.com/control/dnsmanagement?domainName=mydres.com
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/mydres.com/fullchain.pem
Key is saved at: /etc/letsencrypt/live/mydres.com/privkey.pem
This certificate expires on 2025-08-16.
#How can you see the certificates
bash
cd /etc
cd letsencrypt
sudo -s
cd live
ls -l
root@9844542127s-MacBook-Pro live # pwd
/etc/letsencrypt/live
root@9844542127s-MacBook-Pro mydres.com # ls -l
total 8
-rw-r--r-- 1 root wheel 692 May 19 02:20 README
lrwxr-xr-x 1 root wheel 34 May 19 02:20 cert.pem -> ../../archive/mydres.com/cert1.pem
lrwxr-xr-x 1 root wheel 35 May 19 02:20 chain.pem -> ../../archive/mydres.com/chain1.pem
lrwxr-xr-x 1 root wheel 39 May 19 02:20 fullchain.pem -> ../../archive/mydres.com/fullchain1.pem
lrwxr-xr-x 1 root wheel 37 May 19 02:20 privkey.pem -> ../../archive/mydres.com/privkey1.pem
root@9844542127s-MacBook-Pro mydres.com #
#How can I copy these 4 files from this laptop to hosted localhost laptop
root@9844542127s-MacBook-Pro rnhospitals.com # sudo cp /etc/letsencrypt/live/mydres.com/*.pem /Applications/MAMP/htdocs/bharatbaba-docs/ssl/mydres.com/
#change 644 to zip unzip and copy paste in the pendrive or in another laptop
root@9844542127s-MacBook-Pro rnhospitals.com # sudo chmod 644 /Applications/MAMP/htdocs/bharatbaba-docs/ssl/mydres.com/*.pem
#Change in SSL
DocumentRoot
Added: 2025-05-19 05:14:40 | Edited: 2025-05-19 05:17:51 | public