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...

How to minify JSON in powershell?

Choosing the right Azure Service

Resolved: Getting 404 on refresh in angular or react application

Learn Azure Service Bus in 10 minutes in Hindi

Setting up Azure Functions as a GraphQL API Gateway for building serverless API(s)

Understanding map, filter, reduce in JavaScript with an Covid Care facility scenario.

Syntax highlighting in blogger

Resolved: SSL Certificate Problem: unable to get local issuer certificate when doing Woocommerce Integration

Azure API Management - Using Client IP Address as the Counter Key for Rate Limiting Policies

Resolved Error - Azure Powershell failed to get token from Token Cache. Getting You cannot call a method on a null-valued expression