Browsed by
Category: Linux/Unix

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,240 total views, 3 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

680 total views, no views today

Useful Linux Commands for Beginners

Useful Linux Commands for Beginners

Useful Linux Commands for Beginners: 1. free -h : RAM usage details (use -h to get the details in MB/GB, else you will get the details in KB, which is quiet difficult to calculate and understand) 2. du -h : Disk usage details 3. sudo du /temp -h –max-depth=2 | sort -k2 : Disk usage of particular directory here temp is the directory, if you want to see for all the directories then use this command, du $dir -hk –max-depth=2…

Read More Read More

644 total views, no views today