Skip to content

Instantly share code, notes, and snippets.

View pwnlogs's full-sized avatar
😄

Jithin Pavithran pwnlogs

😄
View GitHub Profile
@pwnlogs
pwnlogs / TestFile
Created January 11, 2020 14:01
JustTesting
example
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab
set number
syntax on
@pwnlogs
pwnlogs / create-ca.sh
Created August 12, 2021 06:34
Self-sign certificates - 1) Create certification authority 2) Create certificates
#!/bin/sh
# create Root CA's private key
# > enter a strong password when prompted
openssl genrsa -des3 -out root-ca-private-key.pem 2048
# create and self sign CA's root certificate
openssl req -x509 -new -nodes -key root-ca-private-key.pem -sha256 -days 1825 -out root-ca-certificate.crt
# Sample Information (feel free to use the default values)