# Functions
CreateCerts creates and returns a CA certificate and certificate and key if server==true, generate these for a server if client==true, generate these for a client can generate for both server and client but at least one must be specified.