For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| // This event emitter emits events, but reserves the right to publish events to | |
| // for its creator. It uses a WeakMap for true encapsulation. | |
| const eesToEventMaps = new WeakMap(); | |
| export default class EventEmitter { | |
| constructor(publisher) { | |
| const eventMap = Object.create(null); | |
| eesToEventMaps.set(this, eventMap); |
| // This is the primary configuration file for the BIND DNS server named. | |
| // | |
| // Please read /usr/share/doc/bind9/README.Debian.gz for information on the | |
| // structure of BIND configuration files in Debian, *BEFORE* you customize | |
| // this configuration file. | |
| // | |
| // If you are just adding zones, please do that in /etc/bind/named.conf.local | |
| include "/etc/bind/named.conf.options"; | |
| include "/etc/bind/named.conf.local"; |