It was then taking to the below page for software selection that is used in the app
https://certbot.eff.org/lets-encrypt/arch-other
1. SSH into the server
SSH into the server running your HTTP website as a user with sudo privileges.
#change to our home directory
cd
# Download and install the "Extra Packages for Enterprise Linux (EPEL)"
wget -O epel.rpm –nv https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install -y ./epel.rpm
# Install certbot for Apache (part of EPEL)
sudo yum install python2-certbot-apache.noarch
After this we should have the certbot in the path
sudo certbot -a manual --preferred-challenges dns -d appname-api.mydomain.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.appname-api.mydomain.com with the following value:
3PrB7_2ddfl2q6oe7sh5PCVPNQudY3ZANezB4h5mfIU
the TXT record needs to be added with the key as domain name.
references:
https://certbot.eff.org/
https://blog.lawrencemcdaniel.com/letsencrypt-amazon-linux2-apache/
No comments:
Post a Comment