Skip to content

Instantly share code, notes, and snippets.

@pratham2003
pratham2003 / self-signed-certificate-with-custom-ca.md
Created December 15, 2018 06:09 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@pratham2003
pratham2003 / gist:c4bb4c3e94d951749f5e514f54e280b8
Created December 29, 2017 10:33 — forked from imevro/gist:edfe9dea12196056467f
Clean up all cached pages in prerender.io from console
var cleanUp = function() {
$.ajax({method: "GET", url: "https://prerender.io/api/cached-pages?page=0&pageSize=1000000"}).success(function(response) {
var total = response,
lastChecked = 1;
console.log("total: " + response.length);
for(var i = 0; i < total.length; i++) {
$.ajax({
method: "DELETE",