Import SSL Certificates in trust store
First download certificate in java file Import it using keytool command Java Trust store location : <JRE_HOME>/lib/security/cacerts
Random tech issues we face
First download certificate in java file Import it using keytool command Java Trust store location : <JRE_HOME>/lib/security/cacerts
Sometime back I got below error while connecting to SSL secured site in java. I was using java 8 update 60. Why this error comes and how to resolve it. We will see that. PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Before getting into solution, I would like …
Recently faced an issue where the docker stop was not calling a shutdown hook was not working correctly. The same application when run as a spring boot applicaiton or jar without docker invokes the shutdownhook. During debugging found that the boot app inside the container is not geting SIGTERM when docker stop command is being issued. The boot …
Remove all existing keysGenerate ssh key for the current user which wants to commit to githubadd the ssh key for new userInitialise the new Repository Add the remote url ( here note that we are not using https url)Add user name and email to git configCommit and push to git
Requirement: Update log4j2.properties on all elastic search servers, restart them and check if logs are being rolled and purged over or not. Use Case 1: Take backup of existing log4j2.properties if existsUpdate log4j2.properties of all the elastic search data and master nodesRestart elastic search server playbook : log4j-update.yml Use Case 2: Check whether elastic search service …