{"id":17679317,"url":"https://github.com/bbkane/small_network","last_synced_at":"2026-01-08T08:06:07.184Z","repository":{"id":87170835,"uuid":"124575935","full_name":"bbkane/small_network","owner":"bbkane","description":"A 2-VM Vagrant and Ansible network","archived":false,"fork":false,"pushed_at":"2018-08-07T14:54:47.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T19:49:31.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbkane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-09T18:04:31.000Z","updated_at":"2018-08-07T14:54:48.000Z","dependencies_parsed_at":"2023-03-13T19:44:49.929Z","dependency_job_id":null,"html_url":"https://github.com/bbkane/small_network","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fsmall_network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fsmall_network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fsmall_network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fsmall_network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/small_network/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246361246,"owners_count":20764895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T08:22:04.514Z","updated_at":"2026-01-08T08:06:07.178Z","avatar_url":"https://github.com/bbkane.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes\n\nUsing https://deliciousbrains.com/ssl-certificate-authority-for-local-https-development/\n\nI created the root cert and used https://bbkane.github.io/2018/01/11/Fixing-HTTPS-CA-Cert-Issues.html to install it.\n\nSo I created the csr, key, and crt. But when I tried to run https://gist.github.com/dergachev/7028596 , it didn't work.\n\nTrying https://notoriousno.blogspot.com/2017/11/simple-self-signed-tls-server-and.html\n\n```\n# rm password\nopenssl rsa -in host.key -out host_no_pass.key -passin pass:bbkane\n# cat for PEM\ncat host.crt host_no_pass.key \u003e host.pem\n# modify simple-https-server.py to use host.pem and serve on 0.0.0.0\n```\n\nclient:\n\n```\ncurl https://host:4443\n```\n\nAnd it works!\n\n# TODO:\n\n- reproduce this\n- Make sequence diagram between client, host, and CA for provisioning and requesing HTTPS\n\n# Usage\n\nPlease read the linked-above blog post for more detailed instructions. All\ninstructions are from the root repo location (in my case `~/Git/small_network`).\n\n- Install Vagrant, VirtualBox, and Ansible (see the blog post for how I do this).\n\n- Create the VMs:\n\n```\nvagrant up\n```\n\n- Create the local `ssh_config` file:\n\n```\nvagrant ssh-config \u003e ssh_config\n```\n\n- Ping your new VMs with Ansible:\n\n```\nansible all -m ping\n```\n\n- Run the test playbook:\n\n```\nansible-playbook main.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fsmall_network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Fsmall_network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fsmall_network/lists"}