Category: Linux

Let’s encrypt (SSL) wildcard domain

Prerequisite Clone master branch from certbot Github repo here Easiest solution cd in to your cloned directory let’s say ~/certbot Set your domain as an env var DOMAIN=mimimi.fun (replace mimimi.fun with your own domain) Run this ./certbot-auto certonly –manual -d *.$DOMAIN -d $DOMAIN –agree-tos –manual-public-ip-logging-ok –preferred-challenges dns-01 –server https://acme-v02.api.letsencrypt.org/directory Follow the instruction given(add TXT record […]

Read More

Create Linux user for CI/CD(Jenkins here)

Why You often needs to execute shell scripts on the remote machine if you are using Jenkins to do CD to a remote server from your central server. Sometimes you must prefix your command with sudo in order to complete your deployment, here the problem comes, sudo will prompt you to enter password and this […]

Read More