Skip to content

Instantly share code, notes, and snippets.

View rkasigi's full-sized avatar

Rendi Kasigi rkasigi

View GitHub Profile
@rkasigi
rkasigi / openssl-tsa-step-by-step.txt
Last active July 25, 2019 13:01
openssl-tsa-test
# Download this files
- openssl.conf
- openssl-tsa.conf
- testing.txt
- tsaserial
# Generate CA Certificate
openssl req -new -newkey rsa:4096 -nodes -out ca.csr -keyout ca.key -config openssl.conf
openssl x509 -trustout -signkey ca.key -days 1461 -req -in ca.csr -out ca.pem

I'm running into the same issue. Using python venv I was able to get certbot working using pip.

Steps: Install virtualenv

pip install virtualenv --upgrade

Create a virtualenv

virtualenv -p /usr/bin/python2.7 certbot
@rkasigi
rkasigi / install-L2TP-IPsec-on-ubuntu-18.04.md
Last active November 5, 2024 13:54
Install VPN L2TP IPSec on Ubuntu 18.04

Install L2TP IPsec Connection on Ubuntu 18.04

L2TP on its own is not secure enough, so we’ll need to pair this protocol with IPSec.

To establish an L2TP VPN connection from the Ubuntu command line, we must first install strongswan and xl2tpd

Install requirements

We’re going to use StrongSwan for IPSec.

apt-get install strongswan xl2tpd -y
@rkasigi
rkasigi / semantic-commit-messages.md
Created April 22, 2020 03:46
semantic-commit-messages.md

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

type could be, but not limited with:

@rkasigi
rkasigi / docker-swarm-gpu.md
Created September 2, 2021 09:16 — forked from tomlankhorst/docker-swarm-gpu.md
Instructions for Docker swarm with GPUs