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