Skip to main content

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 […]

Read More

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

then basically it means that […]

Read More

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) […]

Read More

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.

In this article, we will focus on […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

Designing Microservice Architecture with Docker Swarm

Design considerations for a microservice architecture with Docker Swarm Introduction When designing a microservice architecture there are various design considerations needs to be taken care of especially in terms of scalability, high availability, resilience and loose coupling. Recently we went live with our application which is based on microservices architecture and hosted on Docker Swarm. […]

Read More

Bitnami