This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority:
This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority:
https://unix.stackexchange.com/questions/125382/migrate-socat-init-script-to-systemd | |
For socat, I use a pure systemd approach. This is an example for a serial loopback: | |
[Unit] | |
Description=Socat Serial Loopback | |
#Before=my-other.service | |
[Service] | |
Type=simple |
Let's assume you are using Go Modules and have a go.mod
file that contains multiple private repos each with a different ssh key. How can you get go mod download
to do the right thing -- i.e. use ssh key A with private repo A and ssh key B with private repo B?
Ok, here we go!
Let's assume you have some github.com user with multiple private repos:
https://github.com/someuser/private-repo-1
First, you have to enable profiling
> db.setProfilingLevel(1)
Now let it run for a while. It collects the slow queries ( > 100ms) into a capped collections, so queries go in and if it's full, old queries go out, so don't be surprised that it's a moving target...
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
// var chores = function () { | |
// var tasks = ['laundry', 'dishes', 'vaccuum', 'dust']; | |
// return { | |
// doChores: function () { | |
// console.log(tasks.pop()); | |
// }, | |
// addChores: function (task) { | |
// tasks.push(task); | |
// return task; |