Fix Duplicating Certificates in FreeIPA

While practicing with certificates reqeust using FreeIPA, I came across this duplicated certificates for the first time. This happened because I also practiced the same thing a few weeks ago. Here is how to re-produce this message: [root@client ~]# ipa-getcert request \ -f /etc/vsftpd/certs/cert.pem \ -k /etc/vsftpd/certs/cert.key \ -K ftp/client.lab.example.net \ -D client.lab.example.net Certificate at same location is already used by request with nickname "20201008131445". Because I’m still not familiar yet with FreeIPA on this certificate topic, I turned to Google search and found very useful information on this blog post: Dealing with Duplicate SSL certs from FreeIPA....

October 30, 2020 · 3 min · 450 words · kenno

Automating Home Directory With IPA

Nothing excites me than being able to solve a problem on Linux just before bed time. Well, there could be other things, but I couldn’t think of any right now. Right now, I’m preparing for my next exam - Red Hat Certified Specialist in Identity Management (EX362), and one of the topics is about setting up automated home directory using IdM (or IPA). I tried to follow the course material, but I had troubles getting it working....

September 24, 2020 · 7 min · 1291 words · kenno

How to Generate a GPG Key

GPG, the GNU Privacy Guard, can be used to digitally sign email, encrypt files. GPG is also used to sign RPM package. In this post, I’ll write a short instruction on how to generate a new GPG key on RHEL or CentOS 7. The command we need to generate the GPG key is gpg. This program is provided by gnupg2, and it should have aready been installed in most system....

August 19, 2019 · 4 min · 658 words · kenno