-
Use csplit to split the full chain.
$ csplit -f cert- /etc/letsencrypt/live/path/to/fullchain.pem '/-----BEGIN CERTIFICATE-----/' '{*}'
-
Get the hashes from the parts
$ openssl x509 -noout -in cert-00 -pubkey | openssl rsa -pubin -outform der |openssl dgst -sha256 -binary | base64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.7) | |
project(main) | |
set(CMAKE_BUILD_TYPE Debug) | |
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall") | |
set(cpprestsdk_DIR /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/cmake/) | |
find_package(cpprestsdk CONFIG REQUIRED) | |
find_package(Boost COMPONENTS system REQUIRED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -i -p 5003:5003 docker.pkg.github.com/sslhound/svger/svger:dev /app/svger --backend https://img.shields.io --backend-insecure=true --enable-post=false | |
[2019-09-07 16:50:42.922] [info] svger starting up environment=development listen=0.0.0.0 backend=https://img.shields.io | |
[2019-09-07 16:50:42.927] [info] Started server on http://0.0.0.0:5003/ | |
curl -vv -skH "Content-Type: image/svg+xml" --data "@badge.svg" http://localhost:5003/ > badge.png | |
* Trying ::1... | |
* TCP_NODELAY set | |
* Connected to localhost (::1) port 5003 (#0) | |
> POST / HTTP/1.1 | |
> Host: localhost:5003 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"crypto/sha256" | |
"crypto/tls" | |
"crypto/x509" | |
"log" | |
"net" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
struct Node | |
{ | |
int data; | |
struct Node *next; | |
}; | |
void Print(Node *head) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(sequelize, DataTypes) { | |
var Task = sequelize.define('Task', { | |
title: DataTypes.STRING | |
}, { | |
classMethods: { | |
associate: function(models) { | |
Task.belongsTo(models.User) | |
} | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Red Hat Enterprise Linux 5 Adminstration | |
Hacking Roomba | |
Agile Project Management With Scrum | |
The Art of Capacity Planning | |
JavaScript for Web Developers | |
Begining Lua Programming | |
Hacking del.icio.us | |
Professional Ajax | |
The Next 100 Years | |
Mausi |
I hereby claim:
- I am ngerakines on github.
- I am ngerakines (https://keybase.io/ngerakines) on keybase.
- I have a public key whose fingerprint is 9530 23D8 48C3 5059 A2E2 4888 33D4 3D85 4F96 B2E4
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class AbstractTemplate { | |
protected abstract String getTemplateFile(); | |
public String run() { | |
return "rendered template from " + getTemplateFile(); | |
} | |
} |