github.com/rochacon/deis@v1.0.2-0.20150903015341-6839b592a1ff/contrib/azure/generate-mgmt-cert.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  # generate management cert
     4  
     5  openssl req -x509 -nodes -days 365 -newkey rsa:2048 -config cert.conf -keyout azure-cert.pem -out azure-cert.pem -config cert.conf
     6  openssl  x509 -outform der -in azure-cert.pem -out azure-cert.cer