Gen Self Signed Cert
if no exists generate ca cert and privkey
generate new p12 cert for native-tls
License: MIT OR Apache-2.0