Create https self-signed certificate using mkcert
Faithful wrapper for libc openat() and other *at() functions