-ensure external symbols have proper prefix for conversation service
[oweals/gnunet.git] / src / gns / gnunet-gns-proxy-setup-ca
index 48fae94f7dec2914f77c0208d899ed0f051ebfe7..431088534ff2e466690d77d9adc6500c8decde2d 100644 (file)
@@ -1,9 +1,10 @@
+#!/bin/sh
 echo "Generating CA"
 
-openssl req -new -x509 -days 3650 -extensions v3_ca -keyout gnscakey.pem -out gnscacert.pem -subj "/C=DE/ST=Bavaria/L=Munich/O=GNUnet Naming System/OU=GNUnet/CN=GNS Proxy CA/emailAddress=bounce@gnunet.org" -passout pass:"GNUnet Naming System"
+openssl req -new -x509 -days 3650 -extensions v3_ca -keyout gnscakey.pem -out gnscacert.pem -subj "/C=TNR/L=World/O=GNU/OU=GNUnet/CN=GNS Proxy CA/emailAddress=bounce@gnunet.org" -passout pass:"GNU Name System"
 
 echo "Removing passphrase from key"
-openssl rsa -passin pass:"GNUnet Naming System" -in gnscakey.pem -out gnscakeynoenc.pem
+openssl rsa -passin pass:"GNU Name System" -in gnscakey.pem -out gnscakeynoenc.pem
 
 cp gnscacert.pem $HOME/.gnunet/gns/gnscert.pem
 cat gnscacert.pem > $HOME/.gnunet/gns/gnsCAcert.pem