3 # GNUnet TLS certificate shell scricpt
4 # Creates a TSL certificate to use with HTTPS transport plugin
12 # Create RSA Private Key
13 openssl genrsa -out $1 1024 2> /dev/null
18 # Create a self-signed certificate in batch mode using rsa key
19 openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null