Creating own CA and producing a self signed cert
openssl genrsa -out my-ca.key 2048openssl req -x509 -new -nodes -key my-ca.key -sha256 -days 30 -out my-ca.crt -subj "/CN=SomeAuthority/C=US/O=Amazon.com, Inc/OU=Trust and Privacy"[ req ]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn
[ dn ]
C = US
ST = New Jersey
L = Jersey City
O = Bee Server
OU = Infrastructure
CN = api.honey-staging.com
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = api.honey-staging.com
DNS.2 = *.api.honey-staging.com
DNS.3 = localhost
IP.1 = 127.0.0.1Last updated