I work with digicert® to get certificates. The way we get certificates sometimes requires me to convert the certificates, below is the process I use to get the formats for what I may need. This script assumes you have a directory with only the .csr file and the .zip file…
Category: Red Hat
Posts in this category are specific to Red Hat and may or may not work on CentOS and Fedora or other UNIX based systems.
UNIX – Display Network Information
The following code will give you network specific information about your server/computer.
UNIX – List Files With Permissions In CHMOD Numbers
If you’re on UNIX you know ls will list files in a directory but typically you’ll get something like You can simily stat the file(s) with the below What if we work with stat and make it easier?
UNIX – SED Remove Comment Lines
This script will remove all lines that start with # along with all comments. Whatever file you choose I suggest you view first then execute
Azure Red Hat – RHUI Update
Most of the this script is based on the document “Red Hat Update Infrastructure (RHUI) for on-demand Red Hat Enterprise Linux VMs in Azure” at https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-update-infrastructure-redhat?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json My change will first check if the update was already installed, if not it will follow the process to install See updates at: https://gitlab.com/Kittell-RedHat/AzureRepo/raw/master/AzureRedHatRepoUpdate.sh
GitLab – Move data to different directory
If you’re running low on disk space or simply want to move the data this script will help. Of course modify the path as needed. First double check your paths
GitLab – Uninstall
If you’ve ran into a problem with GitLab and need to remove all pieces of it to install fresh this may help. DISCLAIMER: BACKUP YOUR DATA FIRST
GitLab – Site looks funky – CSS Issue
It’s rare with the latest updates but sometimes the CSS doesn’t seem to load, this code may help if/when you run into the problem