Open ssl.conf
in a text editor.
Edit the domain(s) listed under the [alt_names]
section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
# Configuration file for runtime kernel parameters. | |
# See sysctl.conf(5) for more information. | |
# See also http://www.nateware.com/linux-network-tuning-for-2013.html for | |
# an explanation about some of these parameters, and instructions for | |
# a few other tweaks outside this file. | |
# See evil packets in your logs. | |
net.ipv4.conf.all.log_martians = 1 |
Host * | |
StrictHostKeyChecking no | |
LogLevel ERROR | |
ConnectTimeout 6 | |
ServerAliveInterval 30 | |
ServerAliveCountMax 10 | |
ExitOnForwardFailure yes | |
Host github.com | |
User git | |
ProxyCommand nc %h %p |
# OpenSSL root CA configuration file. | |
[ ca ] | |
default_ca = ca_default | |
[ ca_default ] | |
dir = /etc/pki/CA/root-ca | |
certs = $dir/certs | |
crl_dir = $dir/crl | |
new_certs_dir = $dir/newcerts |
# OpenSSL Root CA configuration file | |
# Copy to /root/ca/openssl_root.cnf | |
[ ca ] | |
default_ca = CA_default | |
[ CA_default ] | |
# Directory and file locations. | |
dir = /root/ca | |
certs = $dir/certs |
#!/bin/bash | |
mkdir ~/SSLCA/root/ | |
cd ~/SSLCA/root/ | |
openssl genrsa -aes256 -out rootca.key 2048 | |
openssl req -sha256 -new -x509 -days 1826 -key rootca.key -out rootca.crt | |
touch certindex | |
echo 1000 > certserial | |
echo 1000 > crlnumber | |
echo ' | |
[ ca ] |
image: "rust:latest" | |
default: | |
before_script: | |
- rustc --version | |
- cargo --version | |
stages: | |
- test |
name: Security audit | |
on: | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: |
version: 2 | |
jobs: | |
build-and-test: | |
docker: | |
- image: circleci/rust | |
environment: | |
# Fail the build if there are warnings | |
RUSTFLAGS: '-D warnings' | |
steps: | |
- checkout |