This file contains hidden or 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
#!/bin/bash | |
# create-ca.sh - Script to create a Certificate Authority and generate certificates | |
# Create directory structure | |
mkdir -p ca/{root-ca,intermediate-ca,certs,private,crl,csr} | |
chmod 700 ca/private | |
# Create root CA configuration file | |
cat > ca/root-ca.conf << EOL | |
[ req ] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
First, let's install HashiCorp Vault on your system:
# Download and install Vault
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
This guide will walk you through setting up a system to serve your local VMs over HTTPS using custom domain names (e.g., https://xyz.local). We'll use the following components:
- Hypervisor (e.g., VirtualBox, VMware, or Hyper-V)
- CoreDNS for local DNS resolution
- NGINX as a reverse proxy
- Smallstep/certificates for certificate management
Certainly! I understand you want to include a firewall exception for windows_exporter as well. We can modify the msiexec command to include this. Here's an updated configuration and installation process that includes the firewall exception:
collectors:
enabled: cpu,memory,disk,logon,os,service,system,net,logfile
collector:
logfile:
This README provides instructions for setting up Aptly on Arch Linux and configuring it to create and manage APT repositories for Debian-based systems, with integration to AWS S3 for hosting.