Skip to content

Instantly share code, notes, and snippets.

@ishrakr
Last active July 23, 2018 21:16
Show Gist options
  • Save ishrakr/4d309ab142d69758c6a3aef132773e7d to your computer and use it in GitHub Desktop.
Save ishrakr/4d309ab142d69758c6a3aef132773e7d to your computer and use it in GitHub Desktop.
/certificate
add name=local_ca common-name=local_ca days-valid=3650 key-size=4096 key-usage=key-cert-sign,crl-sign
sign local_ca
add name=local common-name=local days-valid=3650 key-size=4096 key-usage=tls-server
sign ca=local_ca local
set trusted=yes local_ca
set trusted=yes local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment