aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGravatar Nikos Mavrogiannopoulos 2008-10-01 15:50:40 +0000
committerGravatar Nokis Mavrogiannopoulos 2008-10-01 15:50:40 +0000
commit26b08fd87c60d193388b6657596c7c9801c9abe4 (patch)
treed21f6c8eaf72cef93d9a6dfbf57a8c014987e685 /README
parent4fb2b3c3aa8f7584a12eefce1b86f76a5f035152 (diff)
updated README file to account for openpgp keys --patch by Jack Bates
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 19 insertions, 0 deletions
diff --git a/README b/README
index 5198ed7..34054b6 100644
--- a/README
+++ b/README
@@ -109,3 +109,22 @@ NameVirtualHost 1.2.3.4:443
109 GnuTLSClientCAFile ca.pem 109 GnuTLSClientCAFile ca.pem
110 GnuTLSPGPKeyringFile /etc/apache2/ring.asc 110 GnuTLSPGPKeyringFile /etc/apache2/ring.asc
111</VirtualHost> 111</VirtualHost>
112
113Create OpenPGP credentials for the server:
114
115IMPORTANT: mod_gnutls currently cannot read encrypted OpenPGP credentials. That
116is, when you generate a key with gpg and gpg prompts you for a passphrase, just
117press enter. Then press enter again, to confirm an empty passphrase.
118http://news.gmane.org/gmane.comp.apache.outoforder.modules
119
120These instructions are from the GnuTLS manual:
121http://www.gnu.org/software/gnutls/manual/html_node/Invoking-gnutls_002dserv.html#Invoking-gnutls_002dserv
122
123 $ gpg --gen-key
124 ...enter whatever details you want, use 'test.gnutls.org' as name...
125
126Make a note of the OpenPGP key identifier of the newly generated key, here it
127was 5D1D14D8. You will need to export the key for GnuTLS to be able to use it.
128
129 $ gpg -a --export 5D1D14D8 > openpgp-server.txt
130 $ gpg -a --export-secret-keys 5D1D14D8 > openpgp-server-key.txt