Introduction Recently, I was granted the Tier-1 Exceptional Talent visa by Home Office UK and many people have asked me how I got this visa and if they qualify for it. Please note that I am not an immigration expert and this is just a personal experience and not professional advice of any sort. As […]
Five points guide to become a Docker Guru for beginners
Introduction When it comes to Docker many people ask about the courses for learning and mastering containerization and deployment using Docker. Based on my experience of using Docker I feel the best resources to learn Docker are available at Docker Documentation. Here I will list out 5 basic steps which will help all, who wish to […]
Configuring Kibana and ElasticSearch for Log Analysis with Fluentd on Docker Swarm
Using Kibana and ElasticSearch for Log Analysis with Fluentd on Docker Swarm Introduction In my previous post, I talked about how to configure fluentd for logging for multiple Docker containers. The post explained how to create a single file for each micro service irrespective of its multiple instances it could have. However, Log files have […]
How to add Subject Alt Names or multiple domains in a key-store and self signed certificate
How to add multiple domains(subject alt names) into certificate and a keystore(.jks) file Introduction In this article, we will see how to add multiple domains also known as the Subject alt name in the JKS file. If you are getting SSL handshake exception and your application is complaining about
1 2 3 | ****javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present |
then basically it means that […]
How to fix javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
How to fix javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present Introduction In this article, we will focus on how to resolve the SSLHandshakeException and possible cause behind it. If you are getting below error, let’s find out how to resolve it. javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names presentat sun.security.ssl.Alerts.getSSLException(Alerts.java:192)at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614) Cause of error The reason, we get above error is that CN(Common name) […]
How to fix PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
How to fix PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException Introduction In the last article, we were trying to enable communication over https between 2 applications using the self-signed certificate. Once the certificate was added and when we ran the application some users would have got the below error.
1 2 3 4 5 6 7 8 9 | org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://localhost:8100/customer/": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target |
In this article, we will focus on […]
How to enable communication over https between 2 spring boot applications using self signed certificate
How to enable communication over https between 2 spring boot applications using self signed certificate Introduction In this tutorial, we will try to cover how we can enable HTTPS communication over 2 Spring boot applications. HTTPS was developed for exchanging confidential information in a secured manner by making use of encryption using public and private keys in […]
How to maintain Session Persistence (Sticky Session) in Docker Swarm
How to maintain Session Persistence(Sticky Session) in Docker Swarm with multiple containers Introduction Stateless services are in vogue and rightfully so as they are easy to scale up and are loosely coupled. However, it is practically impossible to stay away from stateful services completely. For example, say you might need a login application where user session […]
Part-2: Authorising user using Spring Social (Google, Facebook, LinkedIn) and Spring Security
Part-2: Authorising user using Spring Social (Google, FaceBook and LinkedIn) and Spring Security Introduction In the last part, I had demonstrated how we can use spring-social to authorize user using Facebook, Google and LinkedIn API’s. If you have not read the last part, I would request you to have a look and then come […]
Part -1 : Authorising user using Spring Social (Google, FaceBook and LinkedIn) and Spring Security
Part-1: Authorising user using Spring Social (Google, FaceBook and LinkedIn) Introduction Social Logins are becoming increasingly popular across web applications, they not only offer good user experience are safe and also saves the user from password fatigue. Imagine losing a customer because they can not log on to the application as they cannot remember a […]