Keytool: Import Certificate – Java Certs

If you use a self-signed SSL certificate or a certificate that has been issued by unknown CA (certificate authority), Java client will raise an exception: SunCertPathBuilderException: unable to find valid certification path to requested target To resolve this issue the self-signed certificate or the CA certificate should be imported into Java keystore using a keytool […]

Kubectl: Get Current, List All – Namepaces in Kubernetes

Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters in Kubernetes are called Namespaces. The Namespaces allow to partition physical resources into the logically named groups, allowing a Kubernetes cluster to share resources between multiple groups. In this note i will show how get the current Namespace and how to […]