Author

Deepak Prasad

Deepak Prasad

R&D Engineer

at · 1296 articles published

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

Areas of expertise

Certifications & credentials

  • Red Hat Certified System Administrator in Red Hat OpenStackID: 180-246-001
  • Certified Kubernetes Application Developer (CKAD)
  • Red Hat Certified Specialist in Ansible Automation
  • Go: Data Structures, Algorithms and Design Patterns With Go
Author profile illustration for Deepak Prasad — technical writer at GoLinuxCloud

Articles by Deepak Prasad

security

Use Custom Java Truststore Instead of Editing cacerts

Prefer a custom PKCS12 truststore over editing JDK cacerts: isolate private CA trust per app, survive package upgrades, and set javax.net.ssl.trustStore without touching the global Java CA bundle.

Deepak Prasad7 min read
cheatsheet

keytool Command Examples in Linux: Complete Cheat Sheet

keytool is the Java CLI for keystores and truststores: generate key pairs, build CSRs, import CA-signed certificates and PKCS12 bundles, list aliases, export PEM certs, and manage passwords. This cheat sheet covers …

Deepak Prasad14 min read
security

How to Install keytool on Ubuntu

Fix keytool command not found on Ubuntu by installing OpenJDK (default-jdk or openjdk-21-jdk), set JAVA_HOME and PATH, verify with keytool -help, run a PKCS12 smoke test, update through apt, and uninstall cleanly.

Deepak Prasad9 min read
security

OpenSSL vs LibreSSL vs BoringSSL: Which TLS Library Should You Use?

Compare OpenSSL, LibreSSL, and BoringSSL for TLS and cryptography: intended audience, API stability, FIPS, how Linux distributions package each library, and when each is the right choice—with commands to verify what your …

Deepak Prasad12 min read
cheatsheet

OpenSSL Command Cheat Sheet: Keys, Certificates, TLS & PKCS#12

OpenSSL is the standard CLI for TLS keys, X.509 certificates, CSRs, chain verification, PKCS#12 bundles, file encryption, and live HTTPS inspection. This cheat sheet covers everyday subcommands with copy-paste tables and …

Deepak Prasad15 min read
security

PKI, Certificates, CA, CRL, and OCSP Explained for Beginners

Beginner-friendly PKI tutorial: public keys, X.509 certificates, Certificate Authorities, trust chains, SAN extensions, PEM and PFX formats, CRL vs OCSP revocation, TLS and mTLS handshakes—with diagrams and OpenSSL …

Deepak Prasad10 min read
security

How to Create PKCS12 from CRT and KEY with OpenSSL

Create a PKCS12 (.p12) keystore from CRT and KEY with OpenSSL pkcs12 -export for Java keytool, Oracle JSSE, and IBM apps. Covers alias, chain, self-signed certs, -legacy for older Java, cert-only bundles, and …

Deepak Prasad6 min read
security

How to Create a PFX from CRT and KEY with OpenSSL

Create a PFX or P12 file from CRT and KEY with OpenSSL pkcs12 -export: add intermediate chain with -certfile, set export password with -passout, and use -legacy for Windows IIS. Copy-paste examples with verification …

Deepak Prasad6 min read
security

How to Extract a Private Key from PFX with OpenSSL

Use OpenSSL pkcs12 to extract a private key, certificate, and CA chain from a PFX or P12 file on Linux. Covers password-protected and empty-password PFX, unencrypted PEM for nginx, -legacy for old Windows exports, and …

Deepak Prasad6 min read
security

How to Verify a Certificate Matches a Private Key with OpenSSL

Verify a certificate matches a private key with OpenSSL: compare RSA modulus MD5 hashes, use pkey -pubout for EC and ECDSA, check CSR alignment, and test encrypted keys. Covers nginx mismatch errors and copy-paste …

Deepak Prasad5 min read
security

Where Is OpenSSL Config, Certificates, and Libraries? (Linux & Windows)

Find where OpenSSL keeps openssl.cnf, trust-store certificates, libssl libraries, and the openssl binary on Linux and Windows. Use openssl version -d, which openssl, ldconfig, and OPENSSL_CONF when paths differ between …

Deepak Prasad9 min read
security

How to Install OpenSSL on Ubuntu

Install OpenSSL on Ubuntu with apt (openssl and libssl-dev), verify with openssl version, understand when the distro package is enough versus building from source, and generate a test TLS key and certificate.

Deepak Prasad5 min read
security

How to Generate a Self-Signed Certificate with OpenSSL

Generate a self-signed SSL certificate with OpenSSL in one command or via CSR: RSA 2048/4096, EC, Ed25519, SAN for localhost and IP addresses, encrypted keys, and nginx-ready PEM files. Copy-paste examples with real …

Deepak Prasad7 min read
cheatsheet

APT Rollback and History on Ubuntu/Debian: Undo Package Changes

APT on Debian and Ubuntu does not offer a single yum-style history undo. This page covers reading /var/log/apt/history.log, downgrading with apt install package=version, holding packages, and when to use snapshots …

Deepak Prasad7 min read
cheatsheet

lsblk Command in Linux: Syntax, Options & Practical Examples (Block Devices)

lsblk lists block devices — disks, partitions, LVM volumes, and loop devices — in a tree with sizes and mount points. Use it before partitioning, mounting, or resizing storage when you need a quick map of what lives on …

Deepak Prasad9 min read
cheatsheet

systemctl Command in Linux: Syntax, Options & Practical Examples (systemd)

systemctl is the main control tool for systemd on modern Linux. It lists units, shows service status, reads unit files, and starts or stops daemons — the first command to reach for when a service misbehaves or you need …

Deepak Prasad10 min read
cheatsheet

ufw Command in Linux: Syntax, Options & Firewall Examples (Ubuntu/Debian)

ufw (Uncomplicated Firewall) is the default host firewall front end on Ubuntu and Debian. It wraps iptables/nftables with simple allow, deny, and limit rules for ports, subnets, and applications.

Deepak Prasad7 min read
cheatsheet

firewalld Cheat Sheet: firewall-cmd Rules, Commands and Examples (RHEL/Fedora)

On RHEL, Rocky Linux, AlmaLinux, and Fedora, firewalld manages host firewall rules through zones and services. The firewall-cmd CLI opens ports, assigns interfaces to zones, and applies rich rules without restarting the …

Deepak Prasad10 min read
cheatsheet

pacman Command in Arch Linux: Syntax, Options & Practical Examples

On Arch Linux and derivatives, pacman is the native package manager. It syncs official repositories, installs and removes packages with dependency tracking, and maintains a local package database under /var/lib/pacman/.

Deepak Prasad9 min read
cheatsheet

sysctl Reload Without Reboot: Apply Kernel Parameters on Linux

sysctl reads and writes Linux kernel tunables under /proc/sys. Use sysctl -w for temporary changes, drop files in /etc/sysctl.d/, then sysctl -p or sysctl --system to reload without rebooting — except for parameters that …

Deepak Prasad8 min read
cheatsheet

yum history undo and rollback: Revert RPM Transactions on RHEL and Fedora

On RHEL, Fedora, and related RPM distros, yum and dnf record each install, update, and remove in a SQLite history. Use history list, info, undo, redo, and rollback to reverse transactions — not a substitute for backups …

Deepak Prasad9 min read
cheatsheet

grubby Command in Linux: Syntax, Options & Practical Examples (RHEL/Fedora)

On RHEL, Rocky Linux, AlmaLinux, and Fedora, grubby is a command-line tool for listing and editing GRUB2 boot entries. It changes default kernels and kernel arguments without hand-editing grub.cfg or running …

Deepak Prasad9 min read
cheatsheet

grep Recursive Search in Linux: Directories, Include/Exclude, and File Lists

Walk a directory tree with grep -r or -R, narrow results with --include and --exclude-dir, and list matching files with -l, -L, and --null. This page covers recursive tree search only — not regex engines or pattern …

Deepak Prasad9 min read
cheatsheet

SFTP One-Line Commands in Linux: Batch, Here-Docs, and Non-Interactive Transfers

SFTP transfers files over SSH. This page covers non-interactive one-liners — URL-style paths, batch files (-b), here-documents, and sshpass patterns — for scripts and cron jobs, not an interactive SFTP shell tutorial.

Deepak Prasad9 min read
cheatsheet

lsyncd Examples: Real-Time Directory Sync on RHEL/CentOS Linux

On RHEL and CentOS, lsyncd watches local directories with inotify and triggers rsync (or rsync over SSH) to mirror changes to another path or host. It is a lightweight live-sync daemon for slowly changing trees.

Deepak Prasad10 min read
cheatsheet

Linux mount Command: Mount USB, ISO, NFS & Filesystems

mount attaches a filesystem (block device, loop file, NFS export, or ISO image) to a directory tree. umount detaches it. fstab lists mounts applied at boot with mount -a.

Deepak Prasad8 min read
cheatsheet

Linux zip Command: Zip Folder, Exclude Files & Practical Examples

zip packages and compresses files into a .zip archive. unzip extracts them. Common tasks include recursive directory archives, exclusions, password protection, and listing contents without extracting.

Deepak Prasad8 min read
cheatsheet

parallel-ssh in Linux: Syntax, Options & Parallel SSH Examples

The pssh package provides parallel-ssh, parallel-scp, parallel-slurp, parallel-nuke, and parallel-rsync — Python tools that fan out SSH, copy, and rsync jobs across many hosts from one control node using a host list file …

Deepak Prasad7 min read
cheatsheet

wget Command in Linux: Syntax, Options & Download Examples

wget downloads files over HTTP, HTTPS, and FTP without a browser. It supports resume, retries, mirrors, batch URL lists, and quiet automation from scripts and cron jobs.

Deepak Prasad8 min read
cheatsheet

cat Command in Linux: Syntax, Options & Practical Examples

cat reads files or standard input and writes the bytes to standard output. Use it to view small text files, join files in order, or pipe stdin into a new file with shell redirection.

Deepak Prasad8 min read