For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
# This example requires Lima v0.7.0 or later | |
images: | |
- location: "https://cloud.debian.org/images/cloud/buster/20220328-962/debian-10-generic-arm64-20220328-962.qcow2" | |
arch: "x86_64" | |
digest: "sha512:8f43ae1aa14ee07a2d9eb18f417388c47049d356da1faaeaa21baedb9f8c259d2262491fbb578805d745ca738472550ca7776c672a6004795873f6c2777f173e" | |
- location: "https://cloud.debian.org/images/cloud/buster/20220328-962/debian-10-generic-arm64-20220328-962.qcow2" | |
arch: "aarch64" | |
digest: "sha512:8f43ae1aa14ee07a2d9eb18f417388c47049d356da1faaeaa21baedb9f8c259d2262491fbb578805d745ca738472550ca7776c672a6004795873f6c2777f173e" | |
mounts: | |
- location: "~" |
#!/usr/bin/env python3 | |
# How to use: | |
# | |
# Ubuntu 16.04: apt install -y python-boto OR apt install -y python3-boto | |
# | |
# Specify the default profile on aws/boto profile files or use the optional AWS_PROFILE env var: | |
# AWS_PROFILE=example ./dehydrated -c -d example.com -t dns-01 -k /etc/dehydrated/hooks/route53.py | |
# | |
# Manually specify hosted zone: |
# MIT License | |
# Copyright (c) 2016 Chandler Abraham | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This is a test |
dn: cn=config | |
objectClass: olcGlobal | |
cn: config | |
olcArgsFile: /home/matt/ldap/proxy/slapd.args | |
olcPidFile: /home/matt/ldap/proxy/slapd.pid | |
dn: cn=schema,cn=config | |
objectClass: olcSchemaConfig | |
cn: schema |
class Ansible < Formula | |
desc "Automate deployment, configuration, and upgrading" | |
homepage "https://www.ansible.com/" | |
url "http://releases.ansible.com/ansible/ansible-2.1.1.0-0.5.rc5.tar.gz" | |
sha256 "2e6dbe03098f860e1b1829546d2dbbb6d617d2884c008372d40278f863541c3f" | |
head "https://github.com/ansible/ansible.git", :branch => "devel" | |
# bottle do | |
# cellar :any |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
HOST=$1 | |
/etc/init.d/denyhosts stop | |
cd /var/lib/denyhosts | |
for i in `ls`; do mv $i $i.old; grep -v $HOST $i.old >> $i; done | |
cp /etc/hosts.deny /tmp/hosts.deny |