Posts

Resolved: Fix SSL renewal issue on Gitlab Server

PROBLEM : I had hosted a gitlab server on Azure and it was not getting autorenewed. SOLUTION :  1. Check the current SSL cert path: sudo grep -n "ssl_certificate" /var/opt/gitlab/nginx/conf/gitlab-http.conf OR sudo grep -n "ssl_certificate" /etc/gitlab/gitlab.rb  You are likely to see something like this: nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.example.com.crt" nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.example.com.key"  2. In my case, I was using gitlab let'sencrypt. So, I installed certbot. sudo apt update && sudo apt install certbot -y  3. Obtain Fresh Certificate sudo gitlab-ctl stop nginx sudo certbot certonly --standalone -d gitlab.yourdomain.com sudo gitlab-ctl start nginx 4. Configure Gitlab to use new cert external_url "https://gitlab.yourdomain.com" letsencrypt['enable'] = false nginx['s...

My first Tedx Talk: From Pain to Purpose – My TEDx Journey

My notes from ChatGPT: List of Cancer hospitals in India

How to find python installation path?

Resolved: Adding MX Record(s) in AWS

Choosing between IConfiguration and IOptionsSnapshot in a .Net Core application

Wordpress 2024 - The mind blowing vision.

How to generate angular clients using dotnet core?

My Notes with ChatGPT - If I have to upgrade from Codeigniter 3, what should I choose? Codeigniter 4 or Laravel 10?

My notes with ChatGPT - Why Codeigniter 3 was rewritten to Codeigniter 4?