Key distribution center container
[aaf/sshsm.git] / bin / distcenter / create_ca.sh
1 #!/bin/bash
2 CA_DIR=$PWD/ca
3 mkdir $CA_DIR
4 mkdir -p $PWD/certs
5 cd $CA_DIR
6 echo "000a" > serial
7 touch certindex
8 openssl req -x509 -newkey rsa:2048 -days 3650 -nodes -out ca.cert -subj '/C=US/ST=CA/L=local/O=onap/CN=test.onap.ca'