Linux display SSL cert of website from command line

If you want to display details of an SSL certificate that is returned by a website from the Linux commandline, you can use this command. 1. Install required packages In order to use the command below, the “openssl” package is required. You can install this package with this command: Or with yum: 2. Execute command-line… Continue reading Linux display SSL cert of website from command line

Linux how to find installed package name of Java and remove it

The tip below applies to systems that use the “dnf” package manager, e.g. RedHat 8 and AlmaLinux. 1. Find installed package based on wildcard name You can use the following command to search all of the installed packages based on a wildcard name. For example, if we wish to find the package name that provides… Continue reading Linux how to find installed package name of Java and remove it

Convert .pfx to separate certificate and private key file

SSL certificates generated/exported via Windows are usually in the .pfx format. However some applications such as Linux or Java based applications require the certificate and private key to be in separate files. With the commands below you can export the individual parts from the .pfx file. 1. Export certificate and private key from .pfx with… Continue reading Convert .pfx to separate certificate and private key file

Linux cp yes to all

When you try to copy files or folders in Linux using the “cp” command, and the location already contains a file with the same filename, it can ask you whether you want to overwrite the old file: Normally you enter “y” or “n” here, but this message will pop up for every file you are… Continue reading Linux cp yes to all

Published
Categorized as UNIX Shell