Monday, February 6, 2023

How to view certificates present inside a keystore

 How to view certificates present inside a keystore?

The certificates inside a keystore or a trustore file can be viewed using keytool command present inside JDK. 

Prerequisites: 

  • JDK should already be installed and present in the path environment variable so that it can be accessed from anywhere using terminal on linux or command prompt on windows machine.
  • The paasword for keystore should be known

Command:

The command to get the list of certificates will be

keytool -list -v -keystore keystore.jks 

Sunday, February 5, 2023

How to add favicon to your html page

How to add favicon to your html page

How to add favicon to your html page

  • Create a favicon file say myfav.ico and add it to some location in project say assets/myfav.ico
  • Import the above in the head section of your html page
<!DOCTYPE html>
<html lang="en">

<head>
    <link rel="icon" type="image/x-icon" href="assets/myfav.ico">
</head>
<body>
<div>Demo'ing the Favicon!</div>
</body
  • The favicon is now ready to be displayed on the browser.




  • Please do like and follow our facebook page here
  • For more queries, feel free to e-mail us here
  • Just to let you know, we are an Amazon Associate. To help and support us, you can shop for different products available on Amazon from here

SpringBoot Application Event Listeners

When a spring boot application starts few events occurs in below order ApplicationStartingEvent ApplicationEnvironmentPreparedEvent Applicat...