Skip to content

Instantly share code, notes, and snippets.

View iponimansky's full-sized avatar

iponimansky

View GitHub Profile
@iponimansky
iponimansky / newcert.py
Created February 7, 2017 14:22 — forked from Zeerg/newcert.py
Python script to generate CSR/Self Signed Cert. Needs pyOpenssl and python-whois
#!/usr/bin/python
from OpenSSL import crypto
import os
import sys
import datetime
import whois
#Variables
TYPE_RSA = crypto.TYPE_RSA
TYPE_DSA = crypto.TYPE_DSA