How to install certbot ssl certificate on nginx server

I am using centos 7.4 server. you can use following commands for installing ssl certicate. #cd /etc/nginx/conf.d/ [root@vps147238 conf.d]# cp m.eparinay.com.conf qa.eparinay.com.conf[root@vps147238 conf.d]# vim qa.eparinay.com.conf[root@vps147238 conf.d]# sudo certbot –nginx -d qa.eparinay.com -d qa.eparinay.comSaving debug log to /var/log/letsencrypt/letsencrypt.logPlugins selected: Authenticator nginx, Installer nginxStarting new HTTPS connection (1): acme-v02.api.letsencrypt.orgAttempting to parse the version 1.23.0 renewal configuration file …

auto renew letsencrypt ssl apache on linux

For auto renew SSL certificate I added following code in crontab. 0 0 */10 * * certbot renew >> /logs/certbot-cron.log 2>&1 Log of certbot renew command. [root@vps147238 ep]# certbot renew Saving debug log to /var/log/letsencrypt/letsencrypt.log Processing /etc/letsencrypt/renewal/purabtech.com.conf – – – – – – – – – – – – – – – – – – …

how to get free ssl certificate from letsencrypt

For getting a free SSL certificate you need SSH access to your server where you installed your application code. Then follow commands and articles which will guide you to install the necessary application. https://certbot.eff.org/lets-encrypt/centosrhel7-apache After installing certbot to your machine. you need to run following command to generate SSL certificate. certbot –apache certonly –cert-name purabtech.com …

Open 443 and 80 port on linux VM

If your apache or Nginx or tomcat server is configured properly still your site is not opening then check firewall and port is opened on the internet. Check the status of your firewall. use this command firewall-cmd –state running Check which zones are active [root@vps147238 purab]# firewall-cmd –get-active-zonespublicinterfaces: eth0 Open port 80 and port 443 …

CentOS Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org An unexpected error occurred:

While running certonly command I got following error:[root@vps147238 letsencrypt]# certbot –apache certonly –cert-name purabtech.com -d purabtech.inSaving debug log to /var/log/letsencrypt/letsencrypt.logPlugins selected: Authenticator apache, Installer apacheStarting new HTTPS connection (1): acme-v01.api.letsencrypt.orgAn unexpected error occurred:ConnectionError: (‘Connection aborted.’, gaierror(-2, ‘Name or service not known’))Please see the logfiles in /var/log/letsencrypt for more details. I solved this issue by doing …