[Modules] PATCH: mod_gnutls README

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Wed Oct 1 16:03:23 EDT 2008


I have commited your patch plus a fix for your issue in the svn repository.

regards,
Nikos

On Tue, Sep 30, 2008 at 8:53 PM, Jack Bates <ms419 at freezone.co.uk> wrote:
> On Mon, 2008-09-29 at 10:44 +0300, Nikos Mavrogiannopoulos wrote:
>> Jack Bates wrote:
>> > - but when I start Apache, it complains:
>> >
>> > ket% /usr/sbin/apache2 -f httpd.conf
>> > Syntax error on line 16 of httpd.conf-gpg:
>> > GnuTLS: Failed to Import PGP Private Key '/home/jablko/trash/key.asc':
>> > (-59) GnuTLS internal error.
>> > ket%
>>
>> Hello,
>>  gnutls and mod_gnutls cannot read encrypted openpgp keys. That is your
>> gpg key must not be protected with a passphrase.
>
> Doh - thank you Nikos : )
>
> I created a key without a passphrase and got a bit further. I also found
> some documentation in the GnuTLS manual on creating OpenPGP server
> credentials:
> http://www.gnu.org/software/gnutls/manual/html_node/Invoking-gnutls_002dserv.html#Invoking-gnutls_002dserv
>
> I created this patch for the mod_gnutls README, to add instructions for
> creating OpenPGP server credentials:
> http://cgi.sfu.ca/~jdbates/tmp/mod-gnutls/200809300/patch
>
> Would you consider applying it?
>
> Unfortunately, I am still stuck. As per the instructions in the GnuTLS
> manual, I created a gpg key using my server name. I tried "localhost"
> and added "ServerName localhost" to my httpd.conf. However, when I try
> to start Apache, the error log complains:
>
> [Tue Sep 30 10:33:37 2008] [emerg] [GnuTLS] - Host 'localhost:0' is
> missing a Certificate File!
>
> I also tried creating a gpg key using "localhost:0" - with the same
> result.
>
> Here is my httpd.conf:
> http://cgi.sfu.ca/~jdbates/tmp/mod-gnutls/200809300/httpd.conf
>
> - and a screenlog of how I generated the OpenPGP server credentials:
> http://cgi.sfu.ca/~jdbates/tmp/mod-gnutls/200809300/screenlog
>
> _______________________________________________
> Modules mailing list
> Modules at lists.outoforder.cc
> http://lists.outoforder.cc/mailman/listinfo/modules
>
>



More information about the Modules mailing list