<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sangram Rath on Medium]]></title>
        <description><![CDATA[Stories by Sangram Rath on Medium]]></description>
        <link>https://medium.com/@sangram.rath?source=rss-3a1394f3de3b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g7DKfpPzDfU_dXkTdPA1Cg.png</url>
            <title>Stories by Sangram Rath on Medium</title>
            <link>https://medium.com/@sangram.rath?source=rss-3a1394f3de3b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:38:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sangram.rath/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Renewing Kubernetes cluster certificates using kubeadm]]></title>
            <link>https://medium.com/@sangram.rath/renewing-kubernetes-cluster-certificates-using-kubeadm-611ade24679f?source=rss-3a1394f3de3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/611ade24679f</guid>
            <category><![CDATA[renew]]></category>
            <category><![CDATA[kubeadm]]></category>
            <category><![CDATA[certificate]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Sangram Rath]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 13:20:36 GMT</pubDate>
            <atom:updated>2025-07-30T13:21:59.194Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5Mh-4Pfemt69RXhQ" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When a Kubernetes cluster is bootstrapped using kubeadm, TLS certificates are generate for the cluster components for secure communication between them. Kubeadm automatically generates a public key infrastructure (PKI) on initial install, issues a cluster-wide Certificate Authority (CA) certificate and a suite of server and client certificates. These include certificates for the API server, etcd nodes, kubelets, controller-manager, scheduler, and front‑proxy-client.</p><p>The CA certificates are valid for 10 years and individual certificates are valid for 1 year by default. You can change this in the kubeadm configuration by setting the certificateValidityPeriod and caCertificateValidityPeriod values.</p><p>You may experience scenarios where they may expire or not renewed on time. The following steps can help you renew them.</p><p>NOTE: this is applicable to clusters deployed using kubeadm.</p><p>Start by checking the certificate status.</p><pre>kubeadm certs check-expiration</pre><p>You should see an output similar to the screen below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CCw4hPu6zsSwQtFerYQ6Cw.png" /></figure><p>Renew the certificates with the kubeadm certs renew command. In this example, since all the certificates are expired we use the all flag.</p><pre>kubeadm certs renew all</pre><p>A successful renewal would look something similar to the screenshot below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HiG6D_C4WULKcCN1RFGx0A.png" /></figure><p>The next step is to restart the <em>kube-apiserver</em>, <em>kube-controller-manager</em>, <em>kube-scheduler</em>, and <em>etcd</em> pods to apply the new certificates. This is done by moving the manifest files away temporarily from the /etc/kubernetes/manifests/ folder and moving them back.</p><p>The following commands do it for you:</p><pre>mkdir /tmp/manifests<br><br>mv /etc/kubernetes/manifests/* /tmp/manifests<br><br>mv /tmp/manifests* /etc/kubernetes/manifests</pre><p>You should restart kubelet as well.</p><pre>systemctl restart kubelet</pre><p>Finally, copy the updated admin.conf to ~/.kube/config failing which the ~/.kube/config will still have the expired certificate and running the kubectl command will result in an error similar to the one below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*txrBgNptHcvWbUX-ttU2sA.png" /></figure><pre>cp /etc/kubernetes/admin.conf ~/.kube/config</pre><p>Verify that kubectl works.</p><p>You have successfully renewed expired certificates on a cluster initialized using kubeadm .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=611ade24679f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Activating (and deactivating) multi-session support in AWS]]></title>
            <link>https://medium.com/@sangram.rath/activating-multi-session-support-in-aws-09d3c305d827?source=rss-3a1394f3de3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/09d3c305d827</guid>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[cloud-management]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[multiple-sessions]]></category>
            <dc:creator><![CDATA[Sangram Rath]]></dc:creator>
            <pubDate>Thu, 30 Jan 2025 13:38:40 GMT</pubDate>
            <atom:updated>2025-01-30T13:39:35.507Z</atom:updated>
            <content:encoded><![CDATA[<p>At the beginning of this year, AWS <a href="https://aws.amazon.com/about-aws/whats-new/2025/01/aws-management-console-simultaneous-sign-in-multiple-accounts/">announced</a> the support for multiple simultaneous sign-ins from the same browser. You can sign-in to a mix of root, IAM, or federated accounts and they can be from the same account or different AWS accounts.</p><p>In this story, we take a look at how to activate (and deactivate) <strong>multi-session support</strong> using the AWS web console.</p><p>Start by logging in to your management console. Click the profile menu on the top right to display the drop down and select <strong>Turn on multi-session support</strong> from the list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*onmrsb5Nl-Jl3JMNttiECA.png" /><figcaption>Turn on multi-session support from profile</figcaption></figure><blockquote>NOTE: If you are not seeing this option, then it’s possible it has not been enabled for this account yet. Check again later.</blockquote><p>You will then be presented with a confirmation prompt that states that turning this on adds a sub-domain to the console URL. Click <strong>Turn on multi-session support</strong> again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*Yce7Sq16FRdmRL0PYyl-XQ.png" /><figcaption>Confirm turning on multi-session support</figcaption></figure><p>You will notice that the URL has changed and has a sub-domain now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*8U-EZKp10-5tEFqPYWMXjA.png" /><figcaption>New console URL with a sub-domain</figcaption></figure><p>Now, let’s see look at how to add another session. Click the profile menu again and select <strong>Add session</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/1*Zqj-_NHR8a3VxXS0BNV4WA.png" /><figcaption>Add another session</figcaption></figure><p>This will open a new tab to sign in to another AWS account. Sign in the usual way and you will notice that the new session’s URL changes too and also uses a (different) sub-domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*iOjyKHDK48GFUyQQV3B4xg.png" /><figcaption>New console URL with a sub-domain</figcaption></figure><p>You are now logged in to two different accounts in the same browser. You can verify this by clicking on the profile menu which will show the other active session(s).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*KoL9FlaQnaK8UeYfZuAs2g.png" /><figcaption>Multiple sessions</figcaption></figure><p>From here you can:</p><ul><li>Add more sessions, up to 5.</li><li>Jump to the other active session. (This opens in another tab)</li><li>Sign out of all sessions.</li><li>Turn off multi-session support.</li></ul><p>Thanks for reading the story!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09d3c305d827" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to tear down a Canonical MicroStack deployment]]></title>
            <link>https://medium.com/@sangram.rath/how-to-tear-down-a-canonical-microstack-deployment-4adba148c1b1?source=rss-3a1394f3de3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4adba148c1b1</guid>
            <category><![CDATA[uninstall]]></category>
            <category><![CDATA[openstack]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[canonical]]></category>
            <dc:creator><![CDATA[Sangram Rath]]></dc:creator>
            <pubDate>Tue, 28 Jan 2025 17:23:57 GMT</pubDate>
            <atom:updated>2025-01-28T17:24:32.251Z</atom:updated>
            <content:encoded><![CDATA[<p>These instructions apply to a MicroStack deployment using openstack --channel 2024.1/edge. Meaning, you have installed MicroStack using the instructions at <a href="https://canonical.com/microstack/docs/single-node">https://canonical.com/microstack/docs/single-node</a>.</p><pre>sudo snap remove --purge k8s <br>sudo snap remove --purge juju <br>sudo snap remove --purge openstack<br>sudo /usr/sbin/remove-juju-services<br>sudo rm -rf /var/lib/juju<br>rm -rf ~/.local/share/juju<br>rm -rf ~/.local/share/openstack<br>rm -rf ~/snap/openstack<br>rm -rf ~/snap/microstack/<br>rm -rf ~/snap/juju/<br>rm -rf ~/snap/k8s/</pre><p>Reboot server / machine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4adba148c1b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Bacula using Bacularis on Ubuntu 24.04]]></title>
            <link>https://medium.com/@sangram.rath/installing-bacula-using-bacularis-on-ubuntu-24-04-90b1de0f22b0?source=rss-3a1394f3de3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/90b1de0f22b0</guid>
            <category><![CDATA[bacularis]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[backup-and-recovery]]></category>
            <category><![CDATA[backup]]></category>
            <category><![CDATA[bacula]]></category>
            <dc:creator><![CDATA[Sangram Rath]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 12:41:48 GMT</pubDate>
            <atom:updated>2025-01-06T12:53:02.897Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkRKRekRz1Rx2CNLAiRTvg.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/photo/home-studio-equipment-data-storage-backup-27691024/">Jakub Zerdzicki</a></figcaption></figure><h3>Installing Bacula using Bacularis</h3><p><a href="https://www.bacula.org/"><strong>Bacula</strong></a> is a powerful open-source backup and recovery solution designed for both small and large organizations. It offers a modular architecture, allowing you to customize your backup infrastructure to fit your specific needs. Bacula supports backing up a wide range of platforms, including Linux, Windows, and macOS, and can back up various data sources such as files, databases, and applications. With its flexible configuration options and robust features, Bacula provides a reliable and cost-effective solution for protecting critical data from disasters and other unforeseen events.</p><p><a href="https://bacularis.app/"><strong>Bacularis</strong></a> is a user-friendly web interface designed to simplify the configuration, management, and monitoring of Bacula, an open-source backup and recovery solution. It provides an intuitive graphical interface that makes it easier for administrators to set up backup jobs, manage storage resources, and monitor backup activities. With Bacularis, you can streamline your backup workflows, reduce administrative overhead, and gain better insights into the health and status of your backup infrastructure.</p><p>Installing and configuring Bacula can be a bit challenging at times, especially since it’s mostly command line driven. Bacularis provides an option to install Bacula as well during its installation.</p><p>So, in this article, we will see how to install Bacula using Bacularis.</p><h3>Prerequisites</h3><ul><li>A supported vanilla Linux OS, this article uses Ubuntu 24.04.<br>NOTE: Installation on an Ubuntu 22.04 fails, hence it’s recommended to use 24.04.</li></ul><p>For a complete list of system requirements for Bacula, click <a href="https://www.bacula.org/15.0.x-manuals/en/main/System_Requirements.html">here</a>. And for a matrix of supported Operating Systems and the roles, click <a href="https://www.bacula.org/15.0.x-manuals/en/main/Supported_Operating_Systems.html">here</a>.</p><h3>Installing Bacularis and Bacula</h3><p>Bacularis supports various installation methods such as using packages, using Docker, using Composer or manually. In this article, we will use the package based method. Click <a href="https://bacularis.app/doc/brief/installation.html">here</a> for a list of all methods.</p><p>A high-level overview of the steps are:</p><ul><li>Register/login and obtain OS specific repository definitions.</li><li>Create and update the repository.</li></ul><p>For installing using the package method, you must obtain a set of (free) credentials to access the repository and the links to download the public key and the repository file to download the binary packages using <em>apt</em>. To do this you will need to register at <a href="https://users.bacularis.com/user/register/">https://users.bacularis.com/user/register/</a>.</p><p>Once you have registered, verified and logged in, click the <strong>Go to repos</strong> button in the <em>Home</em> page to navigate to the <em>packages</em> page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wGHNWGd7PgmAC8s7BJiAdg.png" /></figure><p>Scroll down and select your desired package type and operating system to view the instructions. For example, in the below screenshot <strong>Ubuntu 24.04</strong> is selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NYs4RcdxNS9qMG9Yw5EUvQ.png" /></figure><p>Next, SSH into your host machine and run the commands in sequence to add the public key, create an authentication file, and create and update the repository.</p><p><strong>NOTE: Either elevate to root user or use <em>sudo</em> in the commands</strong></p><p>Bacularis can be installed with Apache2, NGINX and Lighttpd as web servers. The following demonstration uses NGINX.</p><pre>sudo apt install bacularis bacularis-nginx</pre><p>Installing Bacularis using packages, installs all the prerequisites as dependencies automatically.</p><p>Once the installation is complete, run the following commands to enable the NGINX site and restart NGINX.</p><pre>sudo ln -s /etc/nginx/sites-available/bacularis.conf /etc/nginx/sites-enabled/</pre><pre>sudo systemctl restart nginx</pre><p>Open a browser and access the interface at <a href="http://ip_address:9097/">http://IP_ADDRESS:9097/</a>. The application listens at port <strong>9097</strong> by default. Login using the default username and password which is <strong>admin/admin</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*onS-M4l-om-_CNZd_Wqbgw.png" /></figure><p>You will be presented with the Bacularis install wizard which also includes the option to install Bacula. Select <strong>Enable API instance</strong>, <strong>Enable web interface</strong> and choose <strong>No. I do not have Bacula installed. I would like to install Bacula now and use Bacularis with it</strong>.</p><p>This will ask you to select the OS and enter login credentials for that system. Only username and password is accepted, at the moment SSH keys are not accepted. Check <strong>Use sudo </strong>and click <strong>Install Bacula</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_f4dfeUhAgTINx5nixJTKA.png" /></figure><p>A pop-up modal will show the installation progress. Click <strong>Close</strong> when done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*xuKGC5JCOh0CyeiJht225Q.png" /></figure><p>There are a few more configuration steps after this that you must complete. One of them is to set the API authentication credentials, this will also be your login credentials once the installation is complete. Make any changes needed here for the <em>API protocols</em>, <em>IP address/hostname</em>,<em> port</em> etc. and click <strong>Next</strong> when ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLxTzadmu1G2SPxSEFVcvw.png" /></figure><p>Finally, review the details and click <strong>Save</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Mwt5aLa2QbTC8b-CYwgMw.png" /></figure><p>This will redirect you to the login screen. Login using the credentials set earlier.</p><p>You are done installing Bacularis as well as Bacula.</p><p><em>Watch out for a continuation of this article on how to set a DNS name, SSL and perform other configurations for Bacularis.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90b1de0f22b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Certificate of Competence in Zero Trust (CCZT) — A vendor neutral Zero Trust certification]]></title>
            <link>https://medium.com/@sangram.rath/certificate-of-competence-in-zero-trust-cczt-a-vendor-neutral-zero-trust-certification-18f7e7f2545d?source=rss-3a1394f3de3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/18f7e7f2545d</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[zero-trust]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[cloud-security-alliance]]></category>
            <dc:creator><![CDATA[Sangram Rath]]></dc:creator>
            <pubDate>Thu, 30 Nov 2023 10:07:25 GMT</pubDate>
            <atom:updated>2023-11-30T10:07:25.931Z</atom:updated>
            <content:encoded><![CDATA[<h3>Certificate of Competence in Zero Trust (CCZT) — A vendor neutral Zero Trust certification</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PXokw2kdXmjxu4m6" /></figure><p>The Cloud Security Alliance (CSA) has launched the first ever vendor-neutral Zero Trust training and certification program on Nov 15th 2023.</p><p>The Certificate of Competence in Zero Trust (CCZT) exam evaluates candidates on the following topics:</p><ul><li>ZT Foundational Concepts</li><li>ZT Architecture</li><li>Software Defined Perimeter (SDP)</li><li>NIST and CISA Best Practices</li><li>ZT Planning</li><li>ZT Implementation</li></ul><p>Here’s a quick table covering important details about the exam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*MI9ZmJ8-Rk4BXjsgPvyZFA.png" /></figure><p>One can self study for the exam or use the training program provided by CSA for preparation.</p><p>CSA provides a free prep-kit which one can use along with other resources such as the CCZT Study Guide for self-study. Following are the list of free resources for self study.</p><ul><li><a href="https://cloudsecurityalliance.org/artifacts/cczt-faq/">CCZT FAQs</a></li><li><a href="https://cloudsecurityalliance.org/artifacts/cczt-prep-kit">CCZT Prep-Kit</a></li><li>CCZT Study Guide — Included with the exam token</li><li><a href="https://cloudsecurityalliance.org/artifacts/zero-trust-maturity-model/">CISA Zero Trust Maturity Model</a></li><li><a href="https://www.cisa.gov/sites/default/files/publications/NSTAC%20Report%20to%20the%20President%20on%20Zero%20Trust%20and%20Trusted%20Identity%20Management.pdf">NSTAC Report to the President</a></li><li><a href="https://doi.org/10.6028/NIST.SP.800-207">NIST Zero Trust Architecture</a></li><li><a href="https://cloudsecurityalliance.org/research/artifacts?term=zero-trust&amp;locale=en">CSA Research Publications</a></li></ul><p>The Zero Trust Training (or ZTT for short) is an accompanying course that not only covers the core concepts of zero trust but also imparts the skills necessary to implement zero trust. The course includes the following four main topics:</p><ul><li>Introduction to Zero Trust Architecture</li><li>Introduction to Software Defined Perimeter</li><li>Zero Trust Planning</li><li>Zero Trust Implementation</li></ul><p>While the course is not a mandatory prerequisite for the CCZT exam, it is highly recommended to . The training is available both as a self-paced model and through an instructor-led training (ILT). The training comes with a completion certificate and the 13 course hours can be submitted for CPE credits.</p><p>The cost of the training course is $455 and includes the exam token. Learn more about the course <a href="https://cloudsecurityalliance.org/education/zero-trust-training/">here</a>.</p><p><em>Originally published at </em><a href="https://sangram.hashnode.dev/cczt"><em>https://sangram.hashnode.dev</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18f7e7f2545d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>