Browsed by
Tag: letsencrypt

Nginx Server Notes

Nginx Server Notes

I struggled a lot to understand nginx during my first assignments in nginx configurations for one of the angular deployments and little interesting things in it. I captured as much as possible in this post to help someone who is like me!! Below entries are added to nginx.conf file which usually exist in /etc/nginx/nginx.conf Basic commands: sudo service nginx start – to start nginx server sudo service nginx stop – to stop nginx server sudo service nginx status – returns…

Read More Read More

701 total views, 2 views today

Creating keystore.p12 from letsencrypt certificate for spring boot projects:

Creating keystore.p12 from letsencrypt certificate for spring boot projects:

Creating keystore.p12 from letsencrypt certificate for spring boot projects: Step 1: Stop your server If your server is nginx then use the below command to stop the server. sudo service nginx stop   Step 2: Generating new letsencrypt certificate This is to create the new letsencrypt certificate, if you already have one certificate then skip this step. ./certbot-auto certonly -a standalone \ -d ngdeveloper.com -d www.ngdeveloper.com -d admin.ngdeveloper.com here -d takes all this domains for this certificates, meaning the same…

Read More Read More

1,398 total views, 2 views today

How to renew letsencrypt ssl certificate in cent os aws ec2 ?

How to renew letsencrypt ssl certificate in cent os aws ec2 ?

How to renew letsencrypt ssl certificate in cent os aws ec2 ? Please go to the folder where you already installed letsencrypt (first time), path may be, /etc/letsencrypt in my case. Inside that You can find a file called letsencrypt-auto.   Run the below command inside letsencrypt-auto folder: ./letsencrypt-auto renew     Could not find letsencrypt-auto folder ? In my case it is found inĀ /letsencrypt/letsencrypt path   You can also use this below find command to search letsencrypt folder: find…

Read More Read More

796 total views, 6 views today