blob: 029640842e0cf5d63fa53ea5a84c50173f28d6a5 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
CA_DIR=$PWD/ca
mkdir $CA_DIR
mkdir -p $PWD/certs
cd $CA_DIR
echo "000a" > serial
touch certindex
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'
|