<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1888</id>
	<title>Nabble - Gnu - TLS</title>
	<updated>2009-11-27T00:59:35Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---TLS-f1888.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---TLS-f1888.html" />
	<subtitle type="html">Help list for gnutls programmers. GnuTLS (GNU Transport Layer Security Library) is a project that aims to develop a library which provides a secure layer, over a reliable transport layer. Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26539531</id>
	<title>Re: Problems handling X.509 certificates</title>
	<published>2009-11-27T00:59:35Z</published>
	<updated>2009-11-27T00:59:35Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Daniel Kahn Gillmor &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539531&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dkg@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 11/26/2009 09:18 AM, Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; The TLS protocol only allow clients to send one X.509 certificate to the
&lt;br&gt;&amp;gt;&amp;gt; server. &amp;nbsp;I suspect that if you need to send two client certificates,
&lt;br&gt;&amp;gt;&amp;gt; something is wrong with your architecture.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Laurence may be confused about this, and trying to send two end-entity
&lt;br&gt;&amp;gt; certificates, in which case Simon's remarks here are correct.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But a gnutls client may also offer intermediate certificate authority
&lt;br&gt;&amp;gt; certificates (to bridge the gap from the server's announced root CAs to
&lt;br&gt;&amp;gt; the client's end-entity certificate).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In that case, the spec certainly allows the client to inject multiple
&lt;br&gt;&amp;gt; certificates in the certificate_list structure, with the (maybe
&lt;br&gt;&amp;gt; not-so-clear) intention of giving the server a chained trust path to the
&lt;br&gt;&amp;gt; client's own certificate:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://tools.ietf.org/html/rfc5246#section-7.4.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tools.ietf.org/html/rfc5246#section-7.4.2&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Laurence, if this is what you're trying to do, i don't think you want to
&lt;br&gt;&amp;gt; call gnutls_certificate_set_x509_key_file twice. &amp;nbsp;What you want to do is
&lt;br&gt;&amp;gt; to put the ordered certificates (end-entity cert, followed by successive
&lt;br&gt;&amp;gt; CA certs) in file A, and then the private key in a file B (only the
&lt;br&gt;&amp;gt; end-entity's private key -- there's no need to have the private key for
&lt;br&gt;&amp;gt; any intermediate CA). &amp;nbsp;then call gnutls_certificate_set_x509_key_file
&lt;br&gt;&amp;gt; once, pointing to A and B.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hope this helps clear up confusion.
&lt;/div&gt;&lt;br&gt;Thank you, I hope that helps in case Laurence wanted to provide two
&lt;br&gt;certs from the same chain to the server.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539531&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-handling-X.509-certificates-tp26509143p26539531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531910</id>
	<title>Re: Problems handling X.509 certificates</title>
	<published>2009-11-26T07:14:06Z</published>
	<updated>2009-11-26T07:14:06Z</updated>
	<author>
		<name>Daniel Kahn Gillmor-7</name>
	</author>
	<content type="html">On 11/26/2009 09:18 AM, Simon Josefsson wrote:
&lt;br&gt;&amp;gt; The TLS protocol only allow clients to send one X.509 certificate to the
&lt;br&gt;&amp;gt; server. &amp;nbsp;I suspect that if you need to send two client certificates,
&lt;br&gt;&amp;gt; something is wrong with your architecture.
&lt;br&gt;&lt;br&gt;Laurence may be confused about this, and trying to send two end-entity
&lt;br&gt;certificates, in which case Simon's remarks here are correct.
&lt;br&gt;&lt;br&gt;But a gnutls client may also offer intermediate certificate authority
&lt;br&gt;certificates (to bridge the gap from the server's announced root CAs to
&lt;br&gt;the client's end-entity certificate).
&lt;br&gt;&lt;br&gt;In that case, the spec certainly allows the client to inject multiple
&lt;br&gt;certificates in the certificate_list structure, with the (maybe
&lt;br&gt;not-so-clear) intention of giving the server a chained trust path to the
&lt;br&gt;client's own certificate:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://tools.ietf.org/html/rfc5246#section-7.4.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tools.ietf.org/html/rfc5246#section-7.4.2&lt;/a&gt;&lt;br&gt;&lt;br&gt;Laurence, if this is what you're trying to do, i don't think you want to
&lt;br&gt;call gnutls_certificate_set_x509_key_file twice. &amp;nbsp;What you want to do is
&lt;br&gt;to put the ordered certificates (end-entity cert, followed by successive
&lt;br&gt;CA certs) in file A, and then the private key in a file B (only the
&lt;br&gt;end-entity's private key -- there's no need to have the private key for
&lt;br&gt;any intermediate CA). &amp;nbsp;then call gnutls_certificate_set_x509_key_file
&lt;br&gt;once, pointing to A and B.
&lt;br&gt;&lt;br&gt;hope this helps clear up confusion.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --dkg
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531910&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (909 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26531910/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-handling-X.509-certificates-tp26509143p26531910.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530414</id>
	<title>Re: TLS 1.2 with standard signature? Why hash-&gt;size == 36??</title>
	<published>2009-11-26T06:21:21Z</published>
	<updated>2009-11-26T06:21:21Z</updated>
	<author>
		<name>dal</name>
	</author>
	<content type="html">Hi Simon,
&lt;br&gt;&lt;br&gt;I didn't go that yet (I do not really have time to go on developing my
&lt;br&gt;projekt at the moment :-( ), but for me, the hash excluding the OID
&lt;br&gt;should be fine. I am not sure that is the case for every possible
&lt;br&gt;application using the callback. Maybe it is better to pass the OID
&lt;br&gt;too... It is easy to cut it of if it is not needed for further processing.
&lt;br&gt;&lt;br&gt;Carolin
&lt;br&gt;&lt;br&gt;Simon Josefsson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That is great!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did you have to re-add the PKCS#1 ASN.1 OID before signing the data
&lt;br&gt;&amp;gt; manually? &amp;nbsp;Or was that not necessary? &amp;nbsp;I'm wondering whether current API
&lt;br&gt;&amp;gt; to only give the callback the hash value is OK, or whether it should
&lt;br&gt;&amp;gt; also include the ASN.1 OID in the data passed to the callback. &amp;nbsp;One
&lt;br&gt;&amp;gt; problem with the current callback API is that there is no signalling of
&lt;br&gt;&amp;gt; which hash function was used -- before in TLS this was not necessary
&lt;br&gt;&amp;gt; since only MD5/SHA1 was used, and the default is still SHA-1, but it
&lt;br&gt;&amp;gt; will be possible to sign using SHA-256 or similar too. &amp;nbsp;The callback
&lt;br&gt;&amp;gt; needs to be able to figure out that somehow.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /Simon
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530414&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; yup, it is perfectly working now (I tested with 2.9.10)! Thanks a lot
&lt;br&gt;&amp;gt;&amp;gt; for fixing that!!!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Carolin,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I just re-ran the x509signself self-test with gnutls 2.9.x and the hash
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; size passed to the function is now 20 bytes. &amp;nbsp;I suppose GnuTLS adds the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; right PKCS#1 ASN.1 OID internally. &amp;nbsp;It occurs to me that perhaps the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; callback should receive the entire PKCS#1 blob, to avoid having the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; callback reconstruct it, instead of just the hash value, but maybe this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; is sufficient to make things work for you? &amp;nbsp;I'll release 2.9.9 in a few
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; minutes with some minor fixes, please test it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; /Simon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530414&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I tried to use TLS 1.2 with and without sign callback, and I still see a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; signature of 36 bytes... Even if there is a leading SHA-1 OID, shouldn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it be max 35 then? Maybe we should check, whether I check the right
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; variables:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In gnutls_sig.c, method _gnutls_tls_sign_hdata, there is a structure
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; called dconcat. dconcat.size holds the hash size, right? and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; dconcat.data should hold the hash itself? dconcat.size has a value of 36
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for me...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If I use the sign callback, I print the value of hash-&amp;gt;size (=36) and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; hash-&amp;gt;data (cannot see the OID included in that value, so for me it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; looks like it is really not SHA-1 only).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Maybe I check the wrong values?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; BTW: I used the latest Snapshot, 2.9.8 to test it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Sorry... :-/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530414&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; according to RFC 5246, TLS 1.2 should use a standard signature, but if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I enable TLS 1.2 in GnuTLS and print out the hash size it says
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 36... that does not sound like a standard signature.. I would expect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; something like 20 for SHA1. Am I wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi! &amp;nbsp;With GnuTLS 2.9.7 I hope this should work better -- could you take
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a look? &amp;nbsp;It should have more solid TLS 1.2 support.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530414&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-1.2-with-standard-signature--Why-hash-%3Esize-%3D%3D-36---tp24515218p26530414.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530231</id>
	<title>Re: Problems handling X.509 certificates</title>
	<published>2009-11-26T06:18:40Z</published>
	<updated>2009-11-26T06:18:40Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530231&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lfinsto@...&lt;/a&gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I need to use X.509 certificates for authentication/authorization in an
&lt;br&gt;&amp;gt; application and I've been working through the examples in the GNUTLS
&lt;br&gt;&amp;gt; manual.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm new to GNUTLS (and network programming), so please excuse me if my
&lt;br&gt;&amp;gt; questions are naive.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been using and modifying the programs
&lt;br&gt;&amp;gt; &amp;quot;7.3.2 Simple Client Example with X.509 Certificate Support&amp;quot;
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; &amp;quot;7.4.2 Echo Server with X.509 Authentication II&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been trying to use the function `verify_certificate_chain' (defined
&lt;br&gt;&amp;gt; in `ex-verify.c') instead of `verify_certificate' (defined in
&lt;br&gt;&amp;gt; `ex-rfc2818.c'), but I can't seem to get it to work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have two certificates that I want the client to send to the server. &amp;nbsp;In
&lt;br&gt;&amp;gt; the client, I call `gnutls_certificate_set_x509_key_file' twice, once for
&lt;br&gt;&amp;gt; each certificate/key pair. &amp;nbsp;However, in the server,
&lt;br&gt;&amp;gt; `gnutls_certificate_get_peers' sets the `*LIST_SIZE' to 1, i.e., it only
&lt;br&gt;&amp;gt; finds one certificate.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've tried various things to get it to work, but with no success. &amp;nbsp;I must
&lt;br&gt;&amp;gt; be overlooking something, but I don't know what it could be.
&lt;/div&gt;&lt;br&gt;The TLS protocol only allow clients to send one X.509 certificate to the
&lt;br&gt;server. &amp;nbsp;I suspect that if you need to send two client certificates,
&lt;br&gt;something is wrong with your architecture.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530231&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-handling-X.509-certificates-tp26509143p26530231.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530034</id>
	<title>Re: TLS 1.2 with standard signature? Why hash-&gt;size == 36??</title>
	<published>2009-11-26T05:42:02Z</published>
	<updated>2009-11-26T05:42:02Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">That is great!
&lt;br&gt;&lt;br&gt;Did you have to re-add the PKCS#1 ASN.1 OID before signing the data
&lt;br&gt;manually? &amp;nbsp;Or was that not necessary? &amp;nbsp;I'm wondering whether current API
&lt;br&gt;to only give the callback the hash value is OK, or whether it should
&lt;br&gt;also include the ASN.1 OID in the data passed to the callback. &amp;nbsp;One
&lt;br&gt;problem with the current callback API is that there is no signalling of
&lt;br&gt;which hash function was used -- before in TLS this was not necessary
&lt;br&gt;since only MD5/SHA1 was used, and the default is still SHA-1, but it
&lt;br&gt;will be possible to sign using SHA-256 or similar too. &amp;nbsp;The callback
&lt;br&gt;needs to be able to figure out that somehow.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530034&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; yup, it is perfectly working now (I tested with 2.9.10)! Thanks a lot
&lt;br&gt;&amp;gt; for fixing that!!!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; Carolin,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I just re-ran the x509signself self-test with gnutls 2.9.x and the hash
&lt;br&gt;&amp;gt;&amp;gt; size passed to the function is now 20 bytes. &amp;nbsp;I suppose GnuTLS adds the
&lt;br&gt;&amp;gt;&amp;gt; right PKCS#1 ASN.1 OID internally. &amp;nbsp;It occurs to me that perhaps the
&lt;br&gt;&amp;gt;&amp;gt; callback should receive the entire PKCS#1 blob, to avoid having the
&lt;br&gt;&amp;gt;&amp;gt; callback reconstruct it, instead of just the hash value, but maybe this
&lt;br&gt;&amp;gt;&amp;gt; is sufficient to make things work for you? &amp;nbsp;I'll release 2.9.9 in a few
&lt;br&gt;&amp;gt;&amp;gt; minutes with some minor fixes, please test it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; /Simon
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530034&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I tried to use TLS 1.2 with and without sign callback, and I still see a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; signature of 36 bytes... Even if there is a leading SHA-1 OID, shouldn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it be max 35 then? Maybe we should check, whether I check the right
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; variables:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In gnutls_sig.c, method _gnutls_tls_sign_hdata, there is a structure
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; called dconcat. dconcat.size holds the hash size, right? and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dconcat.data should hold the hash itself? dconcat.size has a value of 36
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; for me...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If I use the sign callback, I print the value of hash-&amp;gt;size (=36) and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; hash-&amp;gt;data (cannot see the OID included in that value, so for me it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; looks like it is really not SHA-1 only).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Maybe I check the wrong values?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; BTW: I used the latest Snapshot, 2.9.8 to test it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sorry... :-/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530034&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; according to RFC 5246, TLS 1.2 should use a standard signature, but if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I enable TLS 1.2 in GnuTLS and print out the hash size it says
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 36... that does not sound like a standard signature.. I would expect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; something like 20 for SHA1. Am I wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi! &amp;nbsp;With GnuTLS 2.9.7 I hope this should work better -- could you take
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a look? &amp;nbsp;It should have more solid TLS 1.2 support.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530034&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-1.2-with-standard-signature--Why-hash-%3Esize-%3D%3D-36---tp24515218p26530034.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530000</id>
	<title>Re: TLS 1.2 with standard signature? Why hash-&gt;size == 36??</title>
	<published>2009-11-26T05:31:22Z</published>
	<updated>2009-11-26T05:31:22Z</updated>
	<author>
		<name>dal</name>
	</author>
	<content type="html">Hi Simon,
&lt;br&gt;&lt;br&gt;yup, it is perfectly working now (I tested with 2.9.10)! Thanks a lot
&lt;br&gt;for fixing that!!!
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;Carolin
&lt;br&gt;&lt;br&gt;Simon Josefsson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Carolin,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just re-ran the x509signself self-test with gnutls 2.9.x and the hash
&lt;br&gt;&amp;gt; size passed to the function is now 20 bytes. &amp;nbsp;I suppose GnuTLS adds the
&lt;br&gt;&amp;gt; right PKCS#1 ASN.1 OID internally. &amp;nbsp;It occurs to me that perhaps the
&lt;br&gt;&amp;gt; callback should receive the entire PKCS#1 blob, to avoid having the
&lt;br&gt;&amp;gt; callback reconstruct it, instead of just the hash value, but maybe this
&lt;br&gt;&amp;gt; is sufficient to make things work for you? &amp;nbsp;I'll release 2.9.9 in a few
&lt;br&gt;&amp;gt; minutes with some minor fixes, please test it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /Simon
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530000&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I tried to use TLS 1.2 with and without sign callback, and I still see a
&lt;br&gt;&amp;gt;&amp;gt; signature of 36 bytes... Even if there is a leading SHA-1 OID, shouldn't
&lt;br&gt;&amp;gt;&amp;gt; it be max 35 then? Maybe we should check, whether I check the right
&lt;br&gt;&amp;gt;&amp;gt; variables:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In gnutls_sig.c, method _gnutls_tls_sign_hdata, there is a structure
&lt;br&gt;&amp;gt;&amp;gt; called dconcat. dconcat.size holds the hash size, right? and
&lt;br&gt;&amp;gt;&amp;gt; dconcat.data should hold the hash itself? dconcat.size has a value of 36
&lt;br&gt;&amp;gt;&amp;gt; for me...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I use the sign callback, I print the value of hash-&amp;gt;size (=36) and
&lt;br&gt;&amp;gt;&amp;gt; hash-&amp;gt;data (cannot see the OID included in that value, so for me it
&lt;br&gt;&amp;gt;&amp;gt; looks like it is really not SHA-1 only).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Maybe I check the wrong values?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; BTW: I used the latest Snapshot, 2.9.8 to test it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sorry... :-/
&lt;br&gt;&amp;gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530000&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; according to RFC 5246, TLS 1.2 should use a standard signature, but if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I enable TLS 1.2 in GnuTLS and print out the hash size it says
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 36... that does not sound like a standard signature.. I would expect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; something like 20 for SHA1. Am I wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi! &amp;nbsp;With GnuTLS 2.9.7 I hope this should work better -- could you take
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a look? &amp;nbsp;It should have more solid TLS 1.2 support.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Carolin Latze
&lt;br&gt;PhD Student				ICT Engineer
&lt;br&gt;&lt;br&gt;Department of Computer Science		Swisscom Strategy and Innovation
&lt;br&gt;Boulevard de Pérolles 90		Ostermundigenstrasse 93
&lt;br&gt;CH-1700 Fribourg &amp;nbsp; &amp;nbsp; &amp;nbsp;			CH-3006 Bern
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;phone: +41 26 300 83 30			+41 79 72 965 27
&lt;br&gt;homepage: &lt;a href=&quot;http://diuf.unifr.ch/people/latzec&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://diuf.unifr.ch/people/latzec&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530000&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-1.2-with-standard-signature--Why-hash-%3Esize-%3D%3D-36---tp24515218p26530000.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26526743</id>
	<title>Re: gnutls is unable to get x509 certificate</title>
	<published>2009-11-26T01:39:53Z</published>
	<updated>2009-11-26T01:39:53Z</updated>
	<author>
		<name>Tomasz Welman</name>
	</author>
	<content type="html">&lt;tt&gt;&lt;font size=2&gt;Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526743&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt; wrote on
11/20/2009 08:57:06 AM:&lt;br&gt;
&lt;br&gt;
&amp;gt; Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526743&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt; &lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; 11/20/2009 08:57 AM&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; To&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; Tomasz Welman/Poland/IBM@IBMPL&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; cc&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526743&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-gnutls@...&lt;/a&gt;&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; Subject&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; Re: gnutls is unable to get x509 certificate&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; Tomasz Welman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526743&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tomasz.welman@...&lt;/a&gt;&amp;gt; writes:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; The problem is that I am using LDAP, and ldaps://, but it doesn't
work.&lt;br&gt;
&amp;gt; &amp;gt; With the help op openldap guys, I've tracked down the issue to
be gnutls &lt;br&gt;
&amp;gt; &amp;gt; problem.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; The full description (with (hopefully all of the) debugging info)
is here:&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &lt;/font&gt;&lt;/tt&gt;&lt;a href=&quot;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;tt&gt;&lt;font size=2&gt;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&lt;/font&gt;&lt;/tt&gt;&lt;/a&gt;&lt;tt&gt;&lt;font size=2&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The IBM server is buggy, this has been debugged before, see complete&lt;br&gt;
&amp;gt; discussion and workarounds:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;/font&gt;&lt;/tt&gt;&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466477&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;tt&gt;&lt;font size=2&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466477&lt;/font&gt;&lt;/tt&gt;&lt;/a&gt;&lt;tt&gt;&lt;font size=2&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;Ok, that helped a bit.&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;When I'm doing:&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;gnutls-cli -p 636 bluepages.ibm.com
--priority NORMAL:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-TLS1.2:-CTYPE-OPENPGP&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;it's working, but if I am giving it
the CA certificate obtained this way:&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;openssl s_client -host bluepages.ibm.com
-port 636 &amp;gt; bp.cert&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;and then:&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;twelman@darthvader:~$ gnutls-cli --x509cafile
bp.cert -p 636 bluepages.ibm.com --priority NORMAL:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-TLS1.2:-CTYPE-OPENPGP
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;it fails with message: &lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Processed 1 CA certificate(s). &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Resolving 'bluepages.ibm.com'... &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Connecting to '9.17.186.253:636'...
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Certificate type: X.509 &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp;- Got a certificate list of 3
certificates. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp;- Certificate[0] info: &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; - subject `C=US,ST=Colorado,L=Boulder,O=International
Business Machines,OU=Terms of use at &lt;/font&gt;&lt;a href=www.verisign.com/rpa target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;www.verisign.com/rpa&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;
(c)05,OU=Terms of use at &lt;/font&gt;&lt;a href=www.verisign.com/rpa target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;www.verisign.com/rpa&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;
(c)05,CN=bluepages.ibm.com', issuer `C=US,O=VeriSign\, Inc.,OU=VeriSign
Trust Network,OU=Terms of use at &lt;/font&gt;&lt;a href=https://www.verisign.com/rpa target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;https://www.verisign.com/rpa&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;
(c)05,CN=VeriSign Class 3 Secure Server CA', RSA key 1024 bits, signed
using RSA-SHA, activated `2008-03-19 00:00:00 UTC', expires `2011-05-23
23:59:59 UTC', SHA-1 fingerprint `b4ed74f52d5de2efac31cbac286ef20bccaba87a'
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp;- Certificate[1] info:&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; - subject `C=US,O=VeriSign\,
Inc.,OU=VeriSign Trust Network,OU=Terms of use at &lt;/font&gt;&lt;a href=https://www.verisign.com/rpa target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;https://www.verisign.com/rpa&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;
(c)05,CN=VeriSign Class 3 Secure Server CA', issuer `C=US,O=VeriSign\,
Inc.,OU=Class 3 Public Primary Certification Authority', RSA key 2048 bits,
signed using RSA-SHA, activated `2005-01-19 00:00:00 UTC', expires `2015-01-18
23:59:59 UTC', SHA-1 fingerprint `188590e94878478e33b6194e59fbbb28ff0888d5'&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp;- Certificate[2] info:&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; - subject `C=US,O=VeriSign\,
Inc.,OU=Class 3 Public Primary Certification Authority', issuer `C=US,O=VeriSign\,
Inc.,OU=Class 3 Public Primary Certification Authority', RSA key 1024 bits,
signed using RSA-MD2 (broken!), activated `1996-01-29 00:00:00 UTC', expires
`2028-08-01 23:59:59 UTC', SHA-1 fingerprint `742c3192e607e424eb4549542be1bbc53e6174e2'&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- The hostname in the certificate matches
'bluepages.ibm.com'.&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Peer's certificate issuer is unknown&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Peer's certificate is NOT trusted&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Version: SSL3.0&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Key Exchange: RSA&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Cipher: AES-256-CBC&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- MAC: SHA1&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;- Compression: NULL&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;*** Verifying server certificate failed...&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;The bp.cert looks like this:&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;twelman@darthvader:~$ cat bp.cert&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;-----BEGIN CERTIFICATE-----&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;MIIFbzCCBFegAwIBAgIQQqowfydfbhGjnIrdG/yoqTANBgkqhkiG9w0BAQUFADCB&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;sDELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykwNTEqMCgGA1UEAxMh&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;VmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBMB4XDTA4MDMxOTAwMDAw&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;MFoXDTExMDUyMzIzNTk1OVowgeIxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhDb2xv&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;cmFkbzEQMA4GA1UEBxQHQm91bGRlcjEoMCYGA1UEChQfSW50ZXJuYXRpb25hbCBC&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;dXNpbmVzcyBNYWNoaW5lczEzMDEGA1UECxQqVGVybXMgb2YgdXNlIGF0IHd3dy52&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;ZXJpc2lnbi5jb20vcnBhIChjKTA1MTMwMQYDVQQLFCpUZXJtcyBvZiB1c2UgYXQg&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;d3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxGjAYBgNVBAMUEWJsdWVwYWdlcy5p&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Ym0uY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSUyh7l1px1jcmNeqf&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;48bV4DQUKhk1h0uBOn24+HdD5YS0TuYrOVtY7L/oX6jT+2Klaogyq8JdYaREnKJo&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;NVAHyPoAYUrnCHwguZdK0KRo9EjbP55qGoYw0gtd0zD9f/G03237x+Kz6sVAvnmN&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;zWeHZ8OT4EfLKDa1pGW/F7QHTQIDAQABo4IB0zCCAc8wCQYDVR0TBAIwADALBgNV&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;HQ8EBAMCBaAwRAYDVR0fBD0wOzA5oDegNYYzaHR0cDovL1NWUlNlY3VyZS1jcmwu&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;dmVyaXNpZ24uY29tL1NWUlNlY3VyZTIwMDUuY3JsMEQGA1UdIAQ9MDswOQYLYIZI&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;AYb4RQEHFwMwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29t&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;L3JwYTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAU&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;b+yvoN2KpO/1KhBnLT9VgrzX7yUweQYIKwYBBQUHAQEEbTBrMCQGCCsGAQUFBzAB&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;hhhodHRwOi8vb2NzcC52ZXJpc2lnbi5jb20wQwYIKwYBBQUHMAKGN2h0dHA6Ly9T&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;VlJTZWN1cmUtYWlhLnZlcmlzaWduLmNvbS9TVlJTZWN1cmUyMDA1LWFpYS5jZXIw&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;bgYIKwYBBQUHAQwEYjBgoV6gXDBaMFgwVhYJaW1hZ2UvZ2lmMCEwHzAHBgUrDgMC&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;GgQUS2u5KJYGDLvQUjibKaxLB4shBRgwJhYkaHR0cDovL2xvZ28udmVyaXNpZ24u&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Y29tL3ZzbG9nbzEuZ2lmMA0GCSqGSIb3DQEBBQUAA4IBAQBXSkgfiiwhOkhj1jZn&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;NYM+ic3E3niRM7xFuz4nz2vX5L7ThVFlYFlWoOynNyfuVXqMxqrf6f8Y2uVMY5Cj&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;PohjrjVocgDsN8epFaplIH/HSXj21q385wAajfYBsxzTQqHytUZ0Apva7rpGAG9l&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;TUYyqA7vxmr/xLTIPzWNk680hwXihFFw8f4vcIvS1riu1AwESUiRQN2BJkTAaRKt&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;n2qjBWirioah4j8kJWvsH/p1P7OAg63rM9hEWi3t9aQBZ2JKKKwmdTI98J2wG/nC&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;PkwhK2dIdkBjr+6ICd0Hp8MME0oTpXq8CuiAbEQRcvQ6aUttnDYOnE8dluRPccgf&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;5BFI&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;-----END CERTIFICATE-----&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Can you help?&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;What I want to achieve is get the CA
(as I did with openssl s_client) and then&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;be able to connect giving this CA for
validation so I'm sure this bluepages.ibm.com&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;is actually the same server that gave
me the CA.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&lt;br&gt;
--&lt;br&gt;
Tomasz 'Trog' Welman&lt;br&gt;
Software Developer&lt;br&gt;
external: 48-12-628-9449&lt;br&gt;
ITN: 34819449&lt;br&gt;
T/L: 9449&lt;br&gt;
&lt;br&gt;
IBM SWG Lab, Krakow, Poland&lt;br&gt;
IBM Polska Sp. z o.o. oddział w Krakowie&lt;br&gt;
ul. Armii Krajowej 18 30 -150 Kraków&lt;br&gt;
NIP: 526-030-07-24, KRS 0000012941&lt;br&gt;
Kapitał zakładowy: 33.000.000 PLN&lt;br&gt;
&lt;/font&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526743&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gnutls-is-unable-to-get-x509-certificate-tp26422145p26526743.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509143</id>
	<title>Problems handling X.509 certificates</title>
	<published>2009-11-25T00:38:44Z</published>
	<updated>2009-11-25T00:38:44Z</updated>
	<author>
		<name>lfinsto</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I need to use X.509 certificates for authentication/authorization in an
&lt;br&gt;application and I've been working through the examples in the GNUTLS
&lt;br&gt;manual.
&lt;br&gt;&lt;br&gt;I'm new to GNUTLS (and network programming), so please excuse me if my
&lt;br&gt;questions are naive.
&lt;br&gt;&lt;br&gt;I've been using and modifying the programs
&lt;br&gt;&amp;quot;7.3.2 Simple Client Example with X.509 Certificate Support&amp;quot;
&lt;br&gt;and
&lt;br&gt;&amp;quot;7.4.2 Echo Server with X.509 Authentication II&amp;quot;.
&lt;br&gt;&lt;br&gt;I've been trying to use the function `verify_certificate_chain' (defined
&lt;br&gt;in `ex-verify.c') instead of `verify_certificate' (defined in
&lt;br&gt;`ex-rfc2818.c'), but I can't seem to get it to work.
&lt;br&gt;&lt;br&gt;I have two certificates that I want the client to send to the server. &amp;nbsp;In
&lt;br&gt;the client, I call `gnutls_certificate_set_x509_key_file' twice, once for
&lt;br&gt;each certificate/key pair. &amp;nbsp;However, in the server,
&lt;br&gt;`gnutls_certificate_get_peers' sets the `*LIST_SIZE' to 1, i.e., it only
&lt;br&gt;finds one certificate.
&lt;br&gt;&lt;br&gt;I've tried various things to get it to work, but with no success. &amp;nbsp;I must
&lt;br&gt;be overlooking something, but I don't know what it could be.
&lt;br&gt;&lt;br&gt;Any help would be much appreciated.
&lt;br&gt;&lt;br&gt;Laurence Finston
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509143&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-handling-X.509-certificates-tp26509143p26509143.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26439614</id>
	<title>Re: gnutls is unable to get x509 certificate</title>
	<published>2009-11-19T23:57:06Z</published>
	<updated>2009-11-19T23:57:06Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Tomasz Welman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26439614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tomasz.welman@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem is that I am using LDAP, and ldaps://, but it doesn't work.
&lt;br&gt;&amp;gt; With the help op openldap guys, I've tracked down the issue to be gnutls 
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The full description (with (hopefully all of the) debugging info) is here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The IBM server is buggy, this has been debugged before, see complete
&lt;br&gt;discussion and workarounds:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466477&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466477&lt;/a&gt;&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26439614&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gnutls-is-unable-to-get-x509-certificate-tp26422145p26439614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26435233</id>
	<title>Re: gnutls is unable to get x509 certificate</title>
	<published>2009-11-19T14:25:47Z</published>
	<updated>2009-11-19T14:25:47Z</updated>
	<author>
		<name>Nikos Mavrogiannopoulos</name>
	</author>
	<content type="html">Tomasz Welman wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is that I am using LDAP, and ldaps://, but it doesn't work.
&lt;br&gt;&amp;gt; With the help op openldap guys, I've tracked down the issue to be gnutls 
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The full description (with (hopefully all of the) debugging info) is here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please tell us for a way to reproduce. If you cannot please run
&lt;br&gt;gnutls-cli-debug against this server and send the output.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Nikos
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26435233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gnutls-is-unable-to-get-x509-certificate-tp26422145p26435233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422145</id>
	<title>gnutls is unable to get x509 certificate</title>
	<published>2009-11-19T00:02:59Z</published>
	<updated>2009-11-19T00:02:59Z</updated>
	<author>
		<name>Tomasz Welman</name>
	</author>
	<content type="html">&lt;font size=2 face=&quot;sans-serif&quot;&gt;Hi,&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;The problem is that I am using LDAP,
and ldaps://, but it doesn't work.&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;With the help op openldap guys, I've
tracked down the issue to be gnutls problem.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;The full description (with (hopefully
all of the) debugging info) is here:&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;a href=&quot;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;http://www.openldap.org/lists/openldap-technical/200911/msg00039.html&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&lt;br&gt;
--&lt;br&gt;
Tomasz 'Trog' Welman&lt;br&gt;
Software Developer&lt;br&gt;
external: 48-12-628-9449&lt;br&gt;
ITN: 34819449&lt;br&gt;
T/L: 9449&lt;br&gt;
&lt;br&gt;
IBM SWG Lab, Krakow, Poland&lt;br&gt;
IBM Polska Sp. z o.o. oddział w Krakowie&lt;br&gt;
ul. Armii Krajowej 18 30 -150 Kraków&lt;br&gt;
NIP: 526-030-07-24, KRS 0000012941&lt;br&gt;
Kapitał zakładowy: 33.000.000 PLN&lt;br&gt;
&lt;/font&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422145&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gnutls-is-unable-to-get-x509-certificate-tp26422145p26422145.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26413166</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-18T10:28:52Z</published>
	<updated>2009-11-18T10:28:52Z</updated>
	<author>
		<name>Tomas Hoger-3</name>
	</author>
	<content type="html">On Tue, 17 Nov 2009 11:32:46 +0100 Simon Josefsson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26413166&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; In GnuTLS, rehandshaking needs to be done explicitly by servers when
&lt;br&gt;&amp;gt; &amp;gt; they get the GNUTLS_E_REHANDSHAKE error back from
&lt;br&gt;&amp;gt; &amp;gt; gnutls_record_recv. If servers don't call gnutls_handshake when
&lt;br&gt;&amp;gt; &amp;gt; that happens, there is no problem. &amp;nbsp;So people can check their
&lt;br&gt;&amp;gt; &amp;gt; applications if they are vulnerable to this problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For everyone's information, searching for &amp;quot;GNUTLS_E_REHANDSHAKE&amp;quot; in
&lt;br&gt;&amp;gt; code is not be sufficient: that only takes care of the situation
&lt;br&gt;&amp;gt; where the local client reacts on a renegotiation request from the
&lt;br&gt;&amp;gt; remote server.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You also have to search for &amp;quot;gnutls_rehandshake&amp;quot; to take care of the
&lt;br&gt;&amp;gt; situation where the local server initiates the renegotiation request.
&lt;/div&gt;&lt;br&gt;I did a search for that in Red Hat Enterprise Linux sources and I've
&lt;br&gt;not found anything using it. &amp;nbsp;Google codesearch finds it in mod_gnutls
&lt;br&gt;though. &amp;nbsp;From a 30sec look, it may be using it in similar cases as
&lt;br&gt;mod_ssl / mod_nss.
&lt;br&gt;&lt;br&gt;th.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26413166&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26413166.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388450</id>
	<title>Re: FIPS Certification</title>
	<published>2009-11-17T02:58:45Z</published>
	<updated>2009-11-17T02:58:45Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388450&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;quot;Hoyt, David&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388450&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hoyt6@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is or will there be an effort to become FIPS certified? If so, is
&lt;br&gt;&amp;gt;&amp;gt; there a schedule laid out for the process? Is there a webpage I can
&lt;br&gt;&amp;gt;&amp;gt; look at to keep myself up-to-date on the certification process?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; All the crypto in GnuTLS normally happens in libgcrypt, and I recall
&lt;br&gt;&amp;gt; seeing libgcrypt mentioned on the list of projects underway of becoming
&lt;br&gt;&amp;gt; FIPS-certified some time ago.
&lt;br&gt;&lt;br&gt;Looking again, I see that AES/3DES/SHA1/SHA2/RSA/DSA/RNG in libgcrypt
&lt;br&gt;have been FIPS certified. &amp;nbsp;Follow links from:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://csrc.nist.gov/groups/STM/cavp/validation.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://csrc.nist.gov/groups/STM/cavp/validation.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Still, older TLS does not use standard RSA PKCS#1 so you have to make
&lt;br&gt;sure GnuTLS is really using the right crypto bits from libgcrypt.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388450&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FIPS-Certification-tp25806601p26388450.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388187</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-17T02:32:46Z</published>
	<updated>2009-11-17T02:32:46Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; In GnuTLS, rehandshaking needs to be done explicitly by servers when
&lt;br&gt;&amp;gt; they get the GNUTLS_E_REHANDSHAKE error back from gnutls_record_recv.
&lt;br&gt;&amp;gt; If servers don't call gnutls_handshake when that happens, there is no
&lt;br&gt;&amp;gt; problem. &amp;nbsp;So people can check their applications if they are vulnerable
&lt;br&gt;&amp;gt; to this problem.
&lt;br&gt;&lt;br&gt;For everyone's information, searching for &amp;quot;GNUTLS_E_REHANDSHAKE&amp;quot; in code
&lt;br&gt;is not be sufficient: that only takes care of the situation where the
&lt;br&gt;local client reacts on a renegotiation request from the remote server.
&lt;br&gt;&lt;br&gt;You also have to search for &amp;quot;gnutls_rehandshake&amp;quot; to take care of the
&lt;br&gt;situation where the local server initiates the renegotiation request.
&lt;br&gt;&lt;br&gt;I believe one still has to look carefully at each example to understand
&lt;br&gt;whether a particular instance is vulnerable or not: not all instances of
&lt;br&gt;TLS reneg appears vulnerable. &amp;nbsp;For example, a server could make sure
&lt;br&gt;that before calling gnutls_rehandshake it reads all data coming from the
&lt;br&gt;client and performs input sanitizing on it because there is no guarantee
&lt;br&gt;that data comes from the same identity who performs the TLS rehandshake
&lt;br&gt;and sends more data later on.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388187&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26388187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26332282</id>
	<title>RE: GNUTLS compression</title>
	<published>2009-11-12T23:07:52Z</published>
	<updated>2009-11-12T23:07:52Z</updated>
	<author>
		<name>Handi Ajimasta</name>
	</author>
	<content type="html">Hi Nikos,
&lt;br&gt;&lt;br&gt;Thanks for link. It helps! :)
&lt;br&gt;&lt;br&gt;Handi
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Nikos Mavrogiannopoulos [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26332282&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n.mavrogiannopoulos@...&lt;/a&gt;] On
&lt;br&gt;Behalf Of Nikos Mavrogiannopoulos
&lt;br&gt;Sent: Thursday, 12 November, 2009 4:01 AM
&lt;br&gt;To: Handi Ajimasta
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26332282&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-gnutls@...&lt;/a&gt;
&lt;br&gt;Subject: Re: GNUTLS compression
&lt;br&gt;&lt;br&gt;Handi Ajimasta wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 4) Is there any performance gain from enabling the compression? I 
&lt;br&gt;&amp;gt; understand that we might save some bandwidth with the compression, but
&lt;br&gt;&lt;br&gt;&amp;gt; with increased lag time, is there any noticeable difference?
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&amp;nbsp;Check some tests I did when I implemented it:
&lt;br&gt;&lt;a href=&quot;http://lists.gnupg.org/pipermail/gnutls-dev/2002-September/000362.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnupg.org/pipermail/gnutls-dev/2002-September/000362.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Nikos
&lt;br&gt;&lt;br&gt;Institute for Infocomm Research disclaimer: &amp;nbsp;&amp;quot;This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26332282&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNUTLS-compression-tp26281321p26332282.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307630</id>
	<title>Re: GNUTLS compression</title>
	<published>2009-11-11T12:00:45Z</published>
	<updated>2009-11-11T12:00:45Z</updated>
	<author>
		<name>Nikos Mavrogiannopoulos</name>
	</author>
	<content type="html">Handi Ajimasta wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 4) Is there any performance gain from enabling the compression? I
&lt;br&gt;&amp;gt; understand that we might save some bandwidth with the compression, but
&lt;br&gt;&amp;gt; with increased lag time, is there any noticeable difference?
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&amp;nbsp;Check some tests I did when I implemented it:
&lt;br&gt;&lt;a href=&quot;http://lists.gnupg.org/pipermail/gnutls-dev/2002-September/000362.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnupg.org/pipermail/gnutls-dev/2002-September/000362.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Nikos
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307630&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNUTLS-compression-tp26281321p26307630.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298916</id>
	<title>Re: GNUTLS compression</title>
	<published>2009-11-11T02:10:25Z</published>
	<updated>2009-11-11T02:10:25Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">&amp;quot;Handi Ajimasta&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298916&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hajimasta@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I installed gnutls 2.5.5 in Windows XP, and gnutls 2.8.4 in Windows 7
&lt;br&gt;&amp;gt; Release Candidate from &lt;a href=&quot;http://josefsson.org/gnutls4win/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I thought that 'DEFLATE' compression algorithm is enabled by default in
&lt;br&gt;&amp;gt; all gnutls releases. However, when I force my TLS client to use DEFLATE
&lt;br&gt;&amp;gt; algorithm (and not the NULL) by:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int pPriorities[3] = {GNUTLS_COMP_DEFLATE, 0};
&lt;br&gt;&amp;gt; gnutls_compression_set_priority(session, pPriorities);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My TLS client is not able to handshake with the server, because the
&lt;br&gt;&amp;gt; compression algorithm is not available.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I did a 'gnutls-cli -l' in command prompt in both Windows XP and
&lt;br&gt;&amp;gt; Windows 7, what I saw was: &amp;quot;COMPRESSION: NULL&amp;quot; only, without DEFLATE nor
&lt;br&gt;&amp;gt; LZO algorithm.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I successfully installed gnutls in an Ubuntu machine though, and when I
&lt;br&gt;&amp;gt; did 'gnutls-cli -l' I could see that it has both DEFLATE algorithm and
&lt;br&gt;&amp;gt; NULL there without me configuring anything at all.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My questions are:
&lt;br&gt;&amp;gt; 1) Is compression available for gnutls in Windows?
&lt;br&gt;&amp;gt; 2) If it's yes.. how do I enable it?
&lt;br&gt;&amp;gt; 3) If it's not available.. is there any way that I could enable it?
&lt;br&gt;&amp;gt; 4) Is there any performance gain from enabling the compression? I
&lt;br&gt;&amp;gt; understand that we might save some bandwidth with the compression, but
&lt;br&gt;&amp;gt; with increased lag time, is there any noticeable difference?
&lt;/div&gt;&lt;br&gt;My Windows build of GnuTLS does not include libz, so it is not
&lt;br&gt;available. &amp;nbsp;You should be able to install libz and recompile GnuTLS for
&lt;br&gt;Windows yourself, or provide me with a patch against the gnutls4win
&lt;br&gt;makefile so that future builds will support libz.
&lt;br&gt;&lt;br&gt;I don't think compression is all that useful in normal use cases. &amp;nbsp;It
&lt;br&gt;can be relevant if you are on dial-up or slow wireless links though.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298916&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNUTLS-compression-tp26281321p26298916.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298881</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-11T02:03:54Z</published>
	<updated>2009-11-11T02:03:54Z</updated>
	<author>
		<name>Tomas Hoger-3</name>
	</author>
	<content type="html">On Tue, 10 Nov 2009 19:13:27 +0100 Florian Weimer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298881&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; So, in summary, given (my) current knowledge there is no need to
&lt;br&gt;&amp;gt; &amp;gt; either patch GnuTLS or any server application using GnuTLS.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But GNUTLS would have to implement the extension to secure connections
&lt;br&gt;&amp;gt; to servers which support renegotiation.
&lt;br&gt;&lt;br&gt;Simon confirmed that the implementation of the extension is planned.
&lt;br&gt;I apologize for not properly specifying that &amp;quot;no change needed&amp;quot; was
&lt;br&gt;actually meant as &amp;quot;no change needed, not even reneg extension
&lt;br&gt;implemented&amp;quot;, which caused the confusion.
&lt;br&gt;&lt;br&gt;th.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298881&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26298881.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26296991</id>
	<title>Re: TLS 1.2 with standard signature? Why hash-&gt;size == 36??</title>
	<published>2009-11-10T23:08:03Z</published>
	<updated>2009-11-10T23:08:03Z</updated>
	<author>
		<name>dal</name>
	</author>
	<content type="html">Hi Simon,
&lt;br&gt;&lt;br&gt;that sounds good. I will check it in two weeks (I am out of office at 
&lt;br&gt;the moment, only reading my mails from time to time :-))
&lt;br&gt;&lt;br&gt;Thanks a lot!
&lt;br&gt;Carolin
&lt;br&gt;&lt;br&gt;Simon Josefsson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Carolin,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just re-ran the x509signself self-test with gnutls 2.9.x and the hash
&lt;br&gt;&amp;gt; size passed to the function is now 20 bytes. &amp;nbsp;I suppose GnuTLS adds the
&lt;br&gt;&amp;gt; right PKCS#1 ASN.1 OID internally. &amp;nbsp;It occurs to me that perhaps the
&lt;br&gt;&amp;gt; callback should receive the entire PKCS#1 blob, to avoid having the
&lt;br&gt;&amp;gt; callback reconstruct it, instead of just the hash value, but maybe this
&lt;br&gt;&amp;gt; is sufficient to make things work for you? &amp;nbsp;I'll release 2.9.9 in a few
&lt;br&gt;&amp;gt; minutes with some minor fixes, please test it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /Simon
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26296991&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I tried to use TLS 1.2 with and without sign callback, and I still see a
&lt;br&gt;&amp;gt;&amp;gt; signature of 36 bytes... Even if there is a leading SHA-1 OID, shouldn't
&lt;br&gt;&amp;gt;&amp;gt; it be max 35 then? Maybe we should check, whether I check the right
&lt;br&gt;&amp;gt;&amp;gt; variables:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In gnutls_sig.c, method _gnutls_tls_sign_hdata, there is a structure
&lt;br&gt;&amp;gt;&amp;gt; called dconcat. dconcat.size holds the hash size, right? and
&lt;br&gt;&amp;gt;&amp;gt; dconcat.data should hold the hash itself? dconcat.size has a value of 36
&lt;br&gt;&amp;gt;&amp;gt; for me...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I use the sign callback, I print the value of hash-&amp;gt;size (=36) and
&lt;br&gt;&amp;gt;&amp;gt; hash-&amp;gt;data (cannot see the OID included in that value, so for me it
&lt;br&gt;&amp;gt;&amp;gt; looks like it is really not SHA-1 only).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Maybe I check the wrong values?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; BTW: I used the latest Snapshot, 2.9.8 to test it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sorry... :-/
&lt;br&gt;&amp;gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26296991&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; according to RFC 5246, TLS 1.2 should use a standard signature, but if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I enable TLS 1.2 in GnuTLS and print out the hash size it says
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 36... that does not sound like a standard signature.. I would expect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; something like 20 for SHA1. Am I wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi! &amp;nbsp;With GnuTLS 2.9.7 I hope this should work better -- could you take
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a look? &amp;nbsp;It should have more solid TLS 1.2 support.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26296991&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-1.2-with-standard-signature--Why-hash-%3Esize-%3D%3D-36---tp24515218p26296991.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292301</id>
	<title>Unencrypted connection?</title>
	<published>2009-11-10T14:16:54Z</published>
	<updated>2009-11-10T14:16:54Z</updated>
	<author>
		<name>Prune</name>
	</author>
	<content type="html">I'm interested in using gnutls both for secure communication, but also as a cross-platform wrapper (Linux+Windows) for my unencrypted sockets use, so I don't have to write one myself.  I'm wondering if it's possible to have an unencrypted connection, would it be say using GNUTLS_CIPHER_NULL, and also any detriments to doing that.
&lt;br&gt;&lt;br&gt;I'm using the &lt;a href=&quot;http://josefsson.org/gnutls4win/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/&lt;/a&gt;&amp;nbsp;port for Windows.  However, I can't build the examples since tcp.c includes *nix headers not present on Windows... I'm a bit confused, does that mean the examples aren't ported?
&lt;br&gt;&lt;br&gt;Also, is it possible to use UDP instead of TCP?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292301&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unencrypted-connection--tp26292301p26292301.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26289749</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T11:28:04Z</published>
	<updated>2009-11-10T11:28:04Z</updated>
	<author>
		<name>Florian Weimer</name>
	</author>
	<content type="html">* Steve Dispensa:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 11/10/09 12:13 PM, &amp;quot;Florian Weimer&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; * Simon Josefsson:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So, in summary, given (my) current knowledge there is no need to either
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; patch GnuTLS or any server application using GnuTLS.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; But GNUTLS would have to implement the extension to secure connections
&lt;br&gt;&amp;gt;&amp;gt; to servers which support renegotiation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (...which support safe renegotiation using the extension - no such thing as
&lt;br&gt;&amp;gt; safe renegotiation absent both client and server supporting the extension.)
&lt;/div&gt;&lt;br&gt;Eh, yes, this was sort-of implied. &amp;nbsp;Thanks for the correction.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289749&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26289749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26288532</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T10:13:27Z</published>
	<updated>2009-11-10T10:13:27Z</updated>
	<author>
		<name>Florian Weimer</name>
	</author>
	<content type="html">* Simon Josefsson:
&lt;br&gt;&lt;br&gt;&amp;gt; So, in summary, given (my) current knowledge there is no need to either
&lt;br&gt;&amp;gt; patch GnuTLS or any server application using GnuTLS.
&lt;br&gt;&lt;br&gt;But GNUTLS would have to implement the extension to secure connections
&lt;br&gt;to servers which support renegotiation.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288532&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26288532.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26286919</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T08:49:28Z</published>
	<updated>2009-11-10T08:49:28Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Steve Dispensa &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286919&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dispensa@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 11/10/09 7:22 AM, &amp;quot;Tomas Hoger&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286919&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thoger@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I think we now have some evidence to suggest GnuTLS needn't do anything
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; about this. &amp;nbsp;It seems any use of rehandshake with GnuTLS is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; application-specific and then the answer is probably to fix that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; application instead of GnuTLS.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Is that meant as meant as &amp;quot;no change needed&amp;quot; or &amp;quot;no urgent temporary hotfix
&lt;br&gt;&amp;gt;&amp;gt; needed&amp;quot;? &amp;nbsp;Is the implementation of the proposed extension still the
&lt;br&gt;&amp;gt;&amp;gt; long-term plan, so that apps needing rehandshakes can do them safely?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [sorry if I'm late to the game; we had a baby a few days ago and I'm sadly
&lt;br&gt;&amp;gt; behind on e-mail and most other things.]
&lt;/div&gt;&lt;br&gt;Congratulations! &amp;nbsp;Perfect timing.. ;)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I agree with Tomas. When I wrote up the patch, I noticed that there were a
&lt;br&gt;&amp;gt; few impediments to doing renegotiation at all in the way things are
&lt;br&gt;&amp;gt; currently implemented (unless I misunderstood, which I always quite
&lt;br&gt;&amp;gt; possible). Still, at some point, someone is going to really need the feature
&lt;br&gt;&amp;gt; (or decide that the implementation is incomplete without perfect support for
&lt;br&gt;&amp;gt; it), and once that happens, the bug will magically appear unless the TLS
&lt;br&gt;&amp;gt; extension I supported.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There's also a good reason to support the extension from an interop
&lt;br&gt;&amp;gt; standpoint - servers will want to detect patched clients in the (near?)
&lt;br&gt;&amp;gt; future, so sending the extension along will be helpful.
&lt;/div&gt;&lt;br&gt;Definitely. &amp;nbsp;Given a patch (and copyright assignment) for this, we could
&lt;br&gt;add it to the experimental branch today, and once the IANA has allocated
&lt;br&gt;a code point it could even be backported into the stable branch.
&lt;br&gt;&lt;br&gt;But that would be completely unrelated to fixing any short-term security
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286919&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26286919.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26286802</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T08:43:55Z</published>
	<updated>2009-11-10T08:43:55Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Tomas Hoger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286802&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thoger@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; I think we now have some evidence to suggest GnuTLS needn't do anything
&lt;br&gt;&amp;gt;&amp;gt; about this. &amp;nbsp;It seems any use of rehandshake with GnuTLS is
&lt;br&gt;&amp;gt;&amp;gt; application-specific and then the answer is probably to fix that
&lt;br&gt;&amp;gt;&amp;gt; application instead of GnuTLS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is that meant as meant as &amp;quot;no change needed&amp;quot; or &amp;quot;no urgent temporary hotfix
&lt;br&gt;&amp;gt; needed&amp;quot;?
&lt;br&gt;&lt;br&gt;Both. ;-)
&lt;br&gt;&lt;br&gt;The situation appears to be that 1) there is no patch against GnuTLS
&lt;br&gt;that we can use as a temporary hotfix, and 2) there appears (so far) to
&lt;br&gt;be no servers that use GnuTLS in a way that is vulnerable to this
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;There _could_ be servers that use GnuTLS which were vulnerable. &amp;nbsp;For
&lt;br&gt;these applications, the simplest short-term solution appears to be to
&lt;br&gt;remove/disable the TLS renegotiation code. &amp;nbsp;That would be an urgent
&lt;br&gt;problem that needs to be addressed quickly, if there actually are
&lt;br&gt;deployed instances of that situation.
&lt;br&gt;&lt;br&gt;If a majority of servers that used GnuTLS were vulnerable to this
&lt;br&gt;problem, I think we'd have to consider patching GnuTLS instead of
&lt;br&gt;recommending patching application. &amp;nbsp;Compare when we changed X.509 path
&lt;br&gt;validation in GnuTLS to check expiry/activation times: it was not a
&lt;br&gt;GnuTLS problem but it affected so many applications and it made more
&lt;br&gt;sense to fix it in GnuTLS than change all the applications. &amp;nbsp;Our survey
&lt;br&gt;of servers using GnuTLS indicates that we are not close to being in this
&lt;br&gt;situation for this problem.
&lt;br&gt;&lt;br&gt;Daniel suggested to add a priority string to allow admin's to disable
&lt;br&gt;TLS renegotiation unconditionally without having to recompile
&lt;br&gt;application/libraries. &amp;nbsp;That seems like a good idea, but there are no
&lt;br&gt;instances where we known that it would improve anything. &amp;nbsp;Priority
&lt;br&gt;strings is a quite new features, so the application would have to make
&lt;br&gt;use of priority strings AND do renegotiation AND implement a protocol
&lt;br&gt;that is vulnerable to this attack (e.g., HTTP) in order for things to
&lt;br&gt;work. &amp;nbsp;That situation seems unlikely, but could happen, and then we'll
&lt;br&gt;certainly implement Daniel's suggestion.
&lt;br&gt;&lt;br&gt;We could also release a GnuTLS that does not support TLS renegotiation
&lt;br&gt;at all. &amp;nbsp;Right now, that is not known to fix anything, so I don't see
&lt;br&gt;what you would gain in doing so. &amp;nbsp;But we could end up needing to do that
&lt;br&gt;too.
&lt;br&gt;&lt;br&gt;So, in summary, given (my) current knowledge there is no need to either
&lt;br&gt;patch GnuTLS or any server application using GnuTLS.
&lt;br&gt;&lt;br&gt;&amp;gt; Is the implementation of the proposed extension still the long-term
&lt;br&gt;&amp;gt; plan, so that apps needing rehandshakes can do them safely?
&lt;br&gt;&lt;br&gt;Yes.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286802&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26286802.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283327</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T05:22:16Z</published>
	<updated>2009-11-10T05:22:16Z</updated>
	<author>
		<name>Tomas Hoger-3</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 12:29:04PM +0100, Simon Josefsson wrote:
&lt;br&gt;&amp;gt; If the servers are linked with OpenSSL I don't know if they are
&lt;br&gt;&amp;gt; vulnerable or not, it would depend on whether OpenSSL perform
&lt;br&gt;&amp;gt; renegotiation without application interaction.
&lt;br&gt;&lt;br&gt;OpenSSL and NSS both do renegotiation transparently for application.
&lt;br&gt;&lt;br&gt;&amp;gt; I think we now have some evidence to suggest GnuTLS needn't do anything
&lt;br&gt;&amp;gt; about this. &amp;nbsp;It seems any use of rehandshake with GnuTLS is
&lt;br&gt;&amp;gt; application-specific and then the answer is probably to fix that
&lt;br&gt;&amp;gt; application instead of GnuTLS.
&lt;br&gt;&lt;br&gt;Is that meant as meant as &amp;quot;no change needed&amp;quot; or &amp;quot;no urgent temporary hotfix
&lt;br&gt;needed&amp;quot;? &amp;nbsp;Is the implementation of the proposed extension still the
&lt;br&gt;long-term plan, so that apps needing rehandshakes can do them safely?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;th.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283327&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26283327.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281889</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T03:29:04Z</published>
	<updated>2009-11-10T03:29:04Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Tomas Hoger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281889&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thoger@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; On Tue, Nov 10, 2009 at 09:55:52AM +0100, Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; What other popular servers use GnuTLS?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CUPS and libvirt(d). &amp;nbsp;No GNUTLS_E_REHANDSHAKE in their sources, client
&lt;br&gt;&amp;gt; requested renegotiations seem to fail.
&lt;br&gt;&lt;br&gt;Thanks for checking. &amp;nbsp;So to summarize, so far the following servers
&lt;br&gt;appears to not be affected by this problem when used with GnuTLS:
&lt;br&gt;&lt;br&gt;gnutls-serv
&lt;br&gt;mod_gnutls
&lt;br&gt;exim4
&lt;br&gt;mailutils
&lt;br&gt;CUPS
&lt;br&gt;libvirtd
&lt;br&gt;&lt;br&gt;If the servers are linked with OpenSSL I don't know if they are
&lt;br&gt;vulnerable or not, it would depend on whether OpenSSL perform
&lt;br&gt;renegotiation without application interaction. &amp;nbsp;So make sure they are
&lt;br&gt;linked to GnuTLS before declaring victory.
&lt;br&gt;&lt;br&gt;I think we now have some evidence to suggest GnuTLS needn't do anything
&lt;br&gt;about this. &amp;nbsp;It seems any use of rehandshake with GnuTLS is
&lt;br&gt;application-specific and then the answer is probably to fix that
&lt;br&gt;application instead of GnuTLS. &amp;nbsp;Any more insight or thoughts on this is
&lt;br&gt;welcome.
&lt;br&gt;&lt;br&gt;What GnuTLS needs to do, though, is to have a discussion of the issue in
&lt;br&gt;the manual where renegotiation is discussed, so application writers are
&lt;br&gt;aware of the problem.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281889&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26281889.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281321</id>
	<title>GNUTLS compression</title>
	<published>2009-11-10T02:37:24Z</published>
	<updated>2009-11-10T02:37:24Z</updated>
	<author>
		<name>Handi Ajimasta</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I installed gnutls 2.5.5 in Windows XP, and gnutls 2.8.4 in Windows 7
&lt;br&gt;Release Candidate from &lt;a href=&quot;http://josefsson.org/gnutls4win/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&lt;br&gt;I thought that 'DEFLATE' compression algorithm is enabled by default in
&lt;br&gt;all gnutls releases. However, when I force my TLS client to use DEFLATE
&lt;br&gt;algorithm (and not the NULL) by:
&lt;br&gt;&lt;br&gt;int pPriorities[3] = {GNUTLS_COMP_DEFLATE, 0};
&lt;br&gt;gnutls_compression_set_priority(session, pPriorities);
&lt;br&gt;&lt;br&gt;My TLS client is not able to handshake with the server, because the
&lt;br&gt;compression algorithm is not available.
&lt;br&gt;&lt;br&gt;When I did a 'gnutls-cli -l' in command prompt in both Windows XP and
&lt;br&gt;Windows 7, what I saw was: &amp;quot;COMPRESSION: NULL&amp;quot; only, without DEFLATE nor
&lt;br&gt;LZO algorithm.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I successfully installed gnutls in an Ubuntu machine though, and when I
&lt;br&gt;did 'gnutls-cli -l' I could see that it has both DEFLATE algorithm and
&lt;br&gt;NULL there without me configuring anything at all.
&lt;br&gt;&lt;br&gt;My questions are:
&lt;br&gt;1) Is compression available for gnutls in Windows?
&lt;br&gt;2) If it's yes.. how do I enable it?
&lt;br&gt;3) If it's not available.. is there any way that I could enable it?
&lt;br&gt;4) Is there any performance gain from enabling the compression? I
&lt;br&gt;understand that we might save some bandwidth with the compression, but
&lt;br&gt;with increased lag time, is there any noticeable difference?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance for any help given.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Handi
&lt;br&gt;&lt;br&gt;Institute for Infocomm Research disclaimer: &amp;nbsp;&amp;quot;This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNUTLS-compression-tp26281321p26281321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280149</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-10T00:55:52Z</published>
	<updated>2009-11-10T00:55:52Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26280149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; For example, the mod_gnutls Apache plugin does not support renegotiation
&lt;br&gt;&amp;gt; so there is no problem with it (this was the main case that I were
&lt;br&gt;&amp;gt; concerned with):
&lt;br&gt;&lt;br&gt;Other servers that use GnuTLS is Exim4 and GNU Mailutils. &amp;nbsp;I checked the
&lt;br&gt;sources and cannot find any place where they performs TLS renegotiation.
&lt;br&gt;So as far as I can tell, they are safe too.
&lt;br&gt;&lt;br&gt;(Of course, this assume that it is even possible to exploit this problem
&lt;br&gt;with SMTP/IMAP/POP3 which I haven't seen explained yet.)
&lt;br&gt;&lt;br&gt;What other popular servers use GnuTLS?
&lt;br&gt;&lt;br&gt;Is there _any_ GnuTLS server that is vulnerable? &amp;nbsp;Not even our
&lt;br&gt;gnutls-serv appears to support renegotiation as far as I can tell.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26280149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26280149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26279182</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-09T23:08:49Z</published>
	<updated>2009-11-09T23:08:49Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Daniel Kahn Gillmor &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279182&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dkg@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; On 11/09/2009 10:19 AM, Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; It is important to understand that you are not vulnerable unless you use
&lt;br&gt;&amp;gt;&amp;gt; renegotiation, which is not typical. &amp;nbsp;If you use renegotiation, perhaps
&lt;br&gt;&amp;gt;&amp;gt; to request client certificates in a web server, the simplest &amp;quot;fix&amp;quot; is to
&lt;br&gt;&amp;gt;&amp;gt; disable any use of renegotiation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My understanding is that the published attacks are undetectable from the
&lt;br&gt;&amp;gt; client-side without the use of the newly-proposed extension.
&lt;br&gt;&lt;br&gt;Yes.
&lt;br&gt;&lt;br&gt;&amp;gt; So barring that extension, it seems that that the protective
&lt;br&gt;&amp;gt; workaround you describe (disabling renegotiation) needs to be done on
&lt;br&gt;&amp;gt; the server side.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a way that this can be done generically with GnuTLS (e.g. a
&lt;br&gt;&amp;gt; priority string, which could conceivably be passed into gnutls by an
&lt;br&gt;&amp;gt; administrator without needing a rebuild), or should the server simply
&lt;br&gt;&amp;gt; avoid calling gnutls_handshake() more than once per session?
&lt;br&gt;&lt;br&gt;In GnuTLS, rehandshaking needs to be done explicitly by servers when
&lt;br&gt;they get the GNUTLS_E_REHANDSHAKE error back from gnutls_record_recv.
&lt;br&gt;If servers don't call gnutls_handshake when that happens, there is no
&lt;br&gt;problem. &amp;nbsp;So people can check their applications if they are vulnerable
&lt;br&gt;to this problem.
&lt;br&gt;&lt;br&gt;For example, the mod_gnutls Apache plugin does not support renegotiation
&lt;br&gt;so there is no problem with it (this was the main case that I were
&lt;br&gt;concerned with):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (rc == GNUTLS_E_REHANDSHAKE) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* A client has asked for a new Hankshake. Currently, we don't do it */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ap_log_error(APLOG_MARK, APLOG_INFO, ctxt-&amp;gt;input_rc,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ctxt-&amp;gt;c-&amp;gt;base_server,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;GnuTLS: Error reading data. Client Requested a New Handshake.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot; (%d) '%s'&amp;quot;, rc, gnutls_strerror(rc));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;Possibly we could indeed have a new mode where GnuTLS refuses to do
&lt;br&gt;renegotiation based on a priority string.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279182&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26279182.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26271039</id>
	<title>Re: TLS 1.2 with standard signature? Why hash-&gt;size == 36??</title>
	<published>2009-11-09T10:09:51Z</published>
	<updated>2009-11-09T10:09:51Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Carolin,
&lt;br&gt;&lt;br&gt;I just re-ran the x509signself self-test with gnutls 2.9.x and the hash
&lt;br&gt;size passed to the function is now 20 bytes. &amp;nbsp;I suppose GnuTLS adds the
&lt;br&gt;right PKCS#1 ASN.1 OID internally. &amp;nbsp;It occurs to me that perhaps the
&lt;br&gt;callback should receive the entire PKCS#1 blob, to avoid having the
&lt;br&gt;callback reconstruct it, instead of just the hash value, but maybe this
&lt;br&gt;is sufficient to make things work for you? &amp;nbsp;I'll release 2.9.9 in a few
&lt;br&gt;minutes with some minor fixes, please test it.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26271039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Simon,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to use TLS 1.2 with and without sign callback, and I still see a
&lt;br&gt;&amp;gt; signature of 36 bytes... Even if there is a leading SHA-1 OID, shouldn't
&lt;br&gt;&amp;gt; it be max 35 then? Maybe we should check, whether I check the right
&lt;br&gt;&amp;gt; variables:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In gnutls_sig.c, method _gnutls_tls_sign_hdata, there is a structure
&lt;br&gt;&amp;gt; called dconcat. dconcat.size holds the hash size, right? and
&lt;br&gt;&amp;gt; dconcat.data should hold the hash itself? dconcat.size has a value of 36
&lt;br&gt;&amp;gt; for me...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I use the sign callback, I print the value of hash-&amp;gt;size (=36) and
&lt;br&gt;&amp;gt; hash-&amp;gt;data (cannot see the OID included in that value, so for me it
&lt;br&gt;&amp;gt; looks like it is really not SHA-1 only).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe I check the wrong values?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; BTW: I used the latest Snapshot, 2.9.8 to test it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry... :-/
&lt;br&gt;&amp;gt; Carolin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simon Josefsson wrote:
&lt;br&gt;&amp;gt;&amp;gt; Carolin Latze &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26271039&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carolin.latze@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; according to RFC 5246, TLS 1.2 should use a standard signature, but if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I enable TLS 1.2 in GnuTLS and print out the hash size it says
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 36... that does not sound like a standard signature.. I would expect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; something like 20 for SHA1. Am I wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi! &amp;nbsp;With GnuTLS 2.9.7 I hope this should work better -- could you take
&lt;br&gt;&amp;gt;&amp;gt; a look? &amp;nbsp;It should have more solid TLS 1.2 support.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26271039&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-1.2-with-standard-signature--Why-hash-%3Esize-%3D%3D-36---tp24515218p26271039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26270933</id>
	<title>Re: TLS Renegotiation problem</title>
	<published>2009-11-09T10:01:23Z</published>
	<updated>2009-11-09T10:01:23Z</updated>
	<author>
		<name>Daniel Kahn Gillmor-7</name>
	</author>
	<content type="html">On 11/09/2009 10:19 AM, Simon Josefsson wrote:
&lt;br&gt;&amp;gt; It is important to understand that you are not vulnerable unless you use
&lt;br&gt;&amp;gt; renegotiation, which is not typical. &amp;nbsp;If you use renegotiation, perhaps
&lt;br&gt;&amp;gt; to request client certificates in a web server, the simplest &amp;quot;fix&amp;quot; is to
&lt;br&gt;&amp;gt; disable any use of renegotiation.
&lt;br&gt;&lt;br&gt;My understanding is that the published attacks are undetectable from the
&lt;br&gt;client-side without the use of the newly-proposed extension. &amp;nbsp;So barring
&lt;br&gt;that extension, it seems that that the protective workaround you
&lt;br&gt;describe (disabling renegotiation) needs to be done on the server side.
&lt;br&gt;&lt;br&gt;Is there a way that this can be done generically with GnuTLS (e.g. a
&lt;br&gt;priority string, which could conceivably be passed into gnutls by an
&lt;br&gt;administrator without needing a rebuild), or should the server simply
&lt;br&gt;avoid calling gnutls_handshake() more than once per session?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --dkg
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26270933&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (909 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26270933/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26270933.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268104</id>
	<title>TLS Renegotiation problem</title>
	<published>2009-11-09T07:19:50Z</published>
	<updated>2009-11-09T07:19:50Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">As you may have heard, people how found out how to attack TLS as used in
&lt;br&gt;many application protocols. &amp;nbsp;For more info see:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ietf.org/id/draft-rescorla-tls-renegotiation-00.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ietf.org/id/draft-rescorla-tls-renegotiation-00.txt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.educatedguesswork.org/2009/11/understanding_the_tls_renegoti.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.educatedguesswork.org/2009/11/understanding_the_tls_renegoti.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://extendedsubset.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://extendedsubset.com/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.imperialviolet.org/2009/11/05/tls-reneg.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.imperialviolet.org/2009/11/05/tls-reneg.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;It is important to understand that you are not vulnerable unless you use
&lt;br&gt;renegotiation, which is not typical. &amp;nbsp;If you use renegotiation, perhaps
&lt;br&gt;to request client certificates in a web server, the simplest &amp;quot;fix&amp;quot; is to
&lt;br&gt;disable any use of renegotiation. &amp;nbsp;You don't need to do this if your
&lt;br&gt;application protocol is robust -- for example XMPP/Jabber appears to be
&lt;br&gt;robust against the problem. &amp;nbsp;HTTPS is not robust.
&lt;br&gt;&lt;br&gt;There is work ongoing to specify a new extension to make TLS
&lt;br&gt;renegotiation safe against this attack, and hopefully GnuTLS will
&lt;br&gt;support it soon. &amp;nbsp;Patches have been published in
&lt;br&gt;&lt;a href=&quot;http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3944&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3944&lt;/a&gt;&amp;nbsp;but
&lt;br&gt;not yet tested or verified, and the IETF/IANA has not allocated a TLS
&lt;br&gt;extension number for it yet either.
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268104&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TLS-Renegotiation-problem-tp26268104p26268104.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26164575</id>
	<title>Re: GnuTLS 2.8.5</title>
	<published>2009-11-02T06:20:28Z</published>
	<updated>2009-11-02T06:20:28Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">Marco Maggi &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26164575&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrc.mgg@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Internationalization
&lt;br&gt;&amp;gt;&amp;gt; ====================
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The &amp;nbsp;GnuTLS &amp;nbsp;library messages &amp;nbsp;have &amp;nbsp;been translated &amp;nbsp;into
&lt;br&gt;&amp;gt;&amp;gt; Czech, Dutch, French, &amp;nbsp;German, Malay, Polish, Swedish, and
&lt;br&gt;&amp;gt;&amp;gt; Vietnamese. &amp;nbsp;We welcome the addition of more translations.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Let's say that, in &amp;nbsp;a purely hypothetical parallel universe,
&lt;br&gt;&amp;gt; I can attempt Italian translation; what should I do?
&lt;br&gt;&lt;br&gt;Check out &lt;a href=&quot;http://translationproject.org/html/translators.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://translationproject.org/html/translators.html&lt;/a&gt;&amp;nbsp;and
&lt;br&gt;contact the Italian translation team. &amp;nbsp;Thanks in advance!
&lt;br&gt;&lt;br&gt;/Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26164575&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GnuTLS-2.8.5-tp26162669p26164575.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26162669</id>
	<title>GnuTLS 2.8.5</title>
	<published>2009-11-02T03:55:43Z</published>
	<updated>2009-11-02T03:55:43Z</updated>
	<author>
		<name>Simon Josefsson-2</name>
	</author>
	<content type="html">We are proud to announce a new stable GnuTLS release: Version 2.8.5.
&lt;br&gt;&lt;br&gt;GnuTLS is a modern C library that implements the standard network
&lt;br&gt;security protocol Transport Layer Security (TLS), for use by network
&lt;br&gt;applications. &amp;nbsp;GnuTLS is developed for GNU/Linux, but works on many
&lt;br&gt;Unix-like systems and comes with a binary installer for Windows.
&lt;br&gt;&lt;br&gt;The GnuTLS library is distributed under the terms of the GNU Lesser
&lt;br&gt;General Public License version 2.1 (or later). &amp;nbsp;The &amp;quot;extra&amp;quot; GnuTLS
&lt;br&gt;library (which contains TLS/IA support, LZO compression and Libgcrypt
&lt;br&gt;FIPS-mode handler), the OpenSSL compatibility library, the self tests
&lt;br&gt;and the command line tools are all distributed under the GNU General
&lt;br&gt;Public License version 3.0 (or later). &amp;nbsp;The manual is distributed
&lt;br&gt;under the GNU Free Documentation License version 1.3 (or later).
&lt;br&gt;&lt;br&gt;The project page of the library is available at:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gnutls/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/&lt;/a&gt;&lt;br&gt;&lt;br&gt;What's New
&lt;br&gt;==========
&lt;br&gt;&lt;br&gt;** libgnutls: In server side when resuming a session do not overwrite the 
&lt;br&gt;** initial session data with the resumed session data.
&lt;br&gt;&lt;br&gt;** libgnutls: Fix PKCS#12 encoding.
&lt;br&gt;The error you would get was &amp;quot;The OID is not supported.&amp;quot;. &amp;nbsp;Problem
&lt;br&gt;introduced for the v2.8.x branch in 2.7.6.
&lt;br&gt;&lt;br&gt;** guile: Compatibility with guile 2.x.
&lt;br&gt;By Ludovic Courtes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26162669&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ludovic.courtes@...&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;** tests: Fix expired cert in chainverify self-test.
&lt;br&gt;&lt;br&gt;** tests: Fix time bomb in chainverify self-test.
&lt;br&gt;Reported by Andreas Metzler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26162669&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ametzler@...&lt;/a&gt;&amp;gt; in
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3925&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;** API and ABI modifications:
&lt;br&gt;No changes since last version.
&lt;br&gt;&lt;br&gt;Getting the Software
&lt;br&gt;====================
&lt;br&gt;&lt;br&gt;GnuTLS may be downloaded from one of the mirror sites or direct from
&lt;br&gt;&amp;lt;ftp://ftp.gnu.org/gnu/gnutls/&amp;gt;. &amp;nbsp;The list of mirrors can be found at
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.gnu.org/software/gnutls/download.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/download.html&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;Here are the BZIP2 compressed sources (6.0MB):
&lt;br&gt;&lt;br&gt;&amp;nbsp; ftp://ftp.gnu.org/gnu/gnutls/gnutls-2.8.5.tar.bz2
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://ftp.gnu.org/gnu/gnutls/gnutls-2.8.5.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnu.org/gnu/gnutls/gnutls-2.8.5.tar.bz2&lt;/a&gt;&lt;br&gt;&lt;br&gt;Here are OpenPGP detached signatures signed using key 0xB565716F:
&lt;br&gt;&lt;br&gt;&amp;nbsp; ftp://ftp.gnu.org/gnu/gnutls/gnutls-2.8.5.tar.bz2.sig
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://ftp.gnu.org/gnu/gnutls/gnutls-2.8.5.tar.bz2.sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnu.org/gnu/gnutls/gnutls-2.8.5.tar.bz2.sig&lt;/a&gt;&lt;br&gt;&lt;br&gt;Note, that we don't distribute gzip compressed tarballs.
&lt;br&gt;&lt;br&gt;In order to check that the version of GnuTLS which you are going to
&lt;br&gt;install is an original and unmodified one, you should verify the OpenPGP
&lt;br&gt;signature. &amp;nbsp;You can use the command
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gpg --verify gnutls-2.8.5.tar.bz2.sig
&lt;br&gt;&lt;br&gt;This checks whether the signature file matches the source file. &amp;nbsp;You
&lt;br&gt;should see a message indicating that the signature is good and made by
&lt;br&gt;that signing key. &amp;nbsp;Make sure that you have the right key, either by
&lt;br&gt;checking the fingerprint of that key with other sources or by checking
&lt;br&gt;that the key has been signed by a trustworthy other key. &amp;nbsp;The signing
&lt;br&gt;key can be identified with the following information:
&lt;br&gt;&lt;br&gt;pub &amp;nbsp; 1280R/B565716F 2002-05-05 [expires: 2010-04-21]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Key fingerprint = 0424 D4EE 81A0 E3D1 19C6 &amp;nbsp;F835 EDA2 1E94 B565 716F
&lt;br&gt;uid &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26162669&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;uid &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26162669&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jas@...&lt;/a&gt;&amp;gt;
&lt;br&gt;sub &amp;nbsp; 1280R/4D5D40AE 2002-05-05 [expires: 2010-04-21]
&lt;br&gt;&lt;br&gt;The key is available from:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/key.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/key.txt&lt;/a&gt;&lt;br&gt;&amp;nbsp; dns:b565716f.josefsson.org?TYPE=CERT
&lt;br&gt;&lt;br&gt;Alternatively, after successfully verifying the OpenPGP signature of
&lt;br&gt;this announcement, you could verify that the files match the following
&lt;br&gt;checksum values. &amp;nbsp;The values are for SHA-1 and SHA-224 respectively:
&lt;br&gt;&lt;br&gt;5121c52efd4718ad3d8b641d28343b0c6abaa571 &amp;nbsp;gnutls-2.8.5.tar.bz2
&lt;br&gt;9d6f1906e380cc7366e2427493c33b72a137e438cdc9080fba3d84f6 &amp;nbsp;gnutls-2.8.5.tar.bz2
&lt;br&gt;&lt;br&gt;Documentation
&lt;br&gt;=============
&lt;br&gt;&lt;br&gt;The manual is available online at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gnutls/documentation.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/documentation.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;In particular the following formats are available:
&lt;br&gt;&lt;br&gt;&amp;nbsp;HTML: &lt;a href=&quot;http://www.gnu.org/software/gnutls/manual/html_node/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/manual/html_node/index.html&lt;/a&gt;&lt;br&gt;&amp;nbsp;PDF: &lt;a href=&quot;http://www.gnu.org/software/gnutls/manual/gnutls.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/manual/gnutls.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;For developers there is a GnuTLS API reference manual formatted using
&lt;br&gt;the GTK-DOC tools:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gnutls/reference/gnutls-gnutls.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/reference/gnutls-gnutls.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;For developers interested in improving code quality, we publish
&lt;br&gt;Cyclomatic code complexity charts that help you find code that may need
&lt;br&gt;review and improvements:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gnutls/cyclo/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/cyclo/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Also useful are code coverage charts which indicate parts of the source
&lt;br&gt;code that needs to be tested better by the included self-tests:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gnutls/coverage/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/coverage/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Community
&lt;br&gt;=========
&lt;br&gt;&lt;br&gt;If you need help to use GnuTLS, or want to help others, you are invited
&lt;br&gt;to join our help-gnutls mailing list, see:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you wish to participate in the development of GnuTLS, you are invited
&lt;br&gt;to join our gnutls-dev mailing list, see:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gnutls-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gnutls-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;Windows installer
&lt;br&gt;=================
&lt;br&gt;&lt;br&gt;GnuTLS has been ported to the Windows operating system, and a binary
&lt;br&gt;installer is available. &amp;nbsp;The installer contains DLLs for application
&lt;br&gt;development, manuals, examples, and source code. &amp;nbsp;The installer includes
&lt;br&gt;libgpg-error v1.7, libgcrypt v1.4.4, libtasn1 v2.3, and GnuTLS v2.8.5.
&lt;br&gt;&lt;br&gt;For more information about GnuTLS for Windows:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/gnutls4win/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/&lt;/a&gt;&lt;br&gt;&lt;br&gt;The Windows binary installer and PGP signature:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/gnutls4win/gnutls-2.8.5.exe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/gnutls-2.8.5.exe&lt;/a&gt;&amp;nbsp;(15MB)
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/gnutls4win/gnutls-2.8.5.exe.sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/gnutls-2.8.5.exe.sig&lt;/a&gt;&lt;br&gt;&lt;br&gt;The checksum values for SHA-1 and SHA-224 are:
&lt;br&gt;&lt;br&gt;5dadd78a630f30d3b4b3a34261068e74cba28d80 &amp;nbsp;gnutls-2.8.5.exe
&lt;br&gt;53af38a54ff2f971d9eecfb44f4ab39cc6dbad371ad6425d312eaccd &amp;nbsp;gnutls-2.8.5.exe
&lt;br&gt;&lt;br&gt;A ZIP archive containing the Windows binaries:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/gnutls4win/gnutls-2.8.5.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/gnutls-2.8.5.zip&lt;/a&gt;&amp;nbsp;(5.3MB)
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/gnutls4win/gnutls-2.8.5.zip.sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/gnutls-2.8.5.zip.sig&lt;/a&gt;&lt;br&gt;&lt;br&gt;The checksum values for SHA-1 and SHA-224 are:
&lt;br&gt;&lt;br&gt;b41c0ac3088620bf78996d719b335317cb90405a &amp;nbsp;gnutls-2.8.5.zip
&lt;br&gt;73ca7da90ebac569948114735d6899a08431ebbe15be3d619bec05a3 &amp;nbsp;gnutls-2.8.5.zip
&lt;br&gt;&lt;br&gt;A Debian mingw32 package is also available:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://josefsson.org/gnutls4win/mingw32-gnutls_2.8.5-1_all.deb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/gnutls4win/mingw32-gnutls_2.8.5-1_all.deb&lt;/a&gt;&amp;nbsp;(4.8MB)
&lt;br&gt;&lt;br&gt;The checksum values for SHA-1 and SHA-224 are:
&lt;br&gt;&lt;br&gt;4ecb2e7617d8722d090ec96138ce595647c06a82 &amp;nbsp;mingw32-gnutls_2.8.5-1_all.deb
&lt;br&gt;cbdd418aea622dfaf9876f563ebc1e192ec0ab90bca8748277501e76 &amp;nbsp;mingw32-gnutls_2.8.5-1_all.deb
&lt;br&gt;&lt;br&gt;Internationalization
&lt;br&gt;====================
&lt;br&gt;&lt;br&gt;The GnuTLS library messages have been translated into Czech, Dutch,
&lt;br&gt;French, German, Malay, Polish, Swedish, and Vietnamese. &amp;nbsp;We welcome the
&lt;br&gt;addition of more translations.
&lt;br&gt;&lt;br&gt;Support
&lt;br&gt;=======
&lt;br&gt;&lt;br&gt;Improving GnuTLS is costly, but you can help! &amp;nbsp;We are looking for
&lt;br&gt;organizations that find GnuTLS useful and wish to contribute back. &amp;nbsp;You
&lt;br&gt;can contribute by reporting bugs, improve the software, or donate money
&lt;br&gt;or equipment.
&lt;br&gt;&lt;br&gt;Commercial support contracts for GnuTLS are available, and they help
&lt;br&gt;finance continued maintenance. &amp;nbsp;Simon Josefsson Datakonsult AB, a
&lt;br&gt;Stockholm based privately held company, is currently funding GnuTLS
&lt;br&gt;maintenance. &amp;nbsp;We are always looking for interesting development
&lt;br&gt;projects. &amp;nbsp;See &lt;a href=&quot;http://josefsson.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://josefsson.org/&lt;/a&gt;&amp;nbsp;for more details.
&lt;br&gt;&lt;br&gt;The GnuTLS service directory is available at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gnutls/commercial.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gnutls/commercial.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Happy Hacking,
&lt;br&gt;Simon
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26162669&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (429 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26162669/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GnuTLS-2.8.5-tp26162669p26162669.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26110528</id>
	<title>Re: High loads and failure due to mod_gnutls</title>
	<published>2009-10-29T03:26:51Z</published>
	<updated>2009-10-29T03:26:51Z</updated>
	<author>
		<name>odo-2</name>
	</author>
	<content type="html">Thank you for your answer, but unfortunately it didn't solve the problem.
&lt;br&gt;&lt;br&gt;2009/10/29 Simon Josefsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26110528&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; john doe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26110528&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;couickie@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am using Apache 2.2.9 and mod_gnutls.so (GNUTLS version 1_4) and I
&lt;br&gt;&amp;gt;&amp;gt; have experienced high load values on my server (HTTP/HTTPS Reverse
&lt;br&gt;&amp;gt;&amp;gt; proxy running on Lenny).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regularly a new apache2 process spawns on the `top` command and takes
&lt;br&gt;&amp;gt;&amp;gt; X% of the CPU, if there is a single bugged process X=100, if there are
&lt;br&gt;&amp;gt;&amp;gt; 2 X=50 etc...
&lt;br&gt;&amp;gt;&amp;gt; `w' command reported a load value of 27 this morning, after a restart
&lt;br&gt;&amp;gt;&amp;gt; of apache it went down to 0 again. After 2 hours the load is now at 2.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've seen this too, especially in high-load scenarios, but for me it
&lt;br&gt;&amp;gt; always appeared to be related to the 'GnuTLSCache dbm' setting.  Maybe
&lt;br&gt;&amp;gt; you could try changing /etc/apache2/mods-enabled/gnutls.conf to use
&lt;br&gt;&amp;gt; 'GnuTLSCache none none' to see if the problem goes away?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe someone on the mod_gnutls list knows more.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /Simon
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am not used to troubleshooting but I managed to get a backtrace with
&lt;br&gt;&amp;gt;&amp;gt; gdb, here is the output:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #0  0xb7f78a0e in apr_bucket_free () from /usr/lib/libaprutil-1.so.0
&lt;br&gt;&amp;gt;&amp;gt; #1  0x08078dac in ap_core_output_filter ()
&lt;br&gt;&amp;gt;&amp;gt; #2  0xb75133d3 in mgs_transport_write () from
&lt;br&gt;&amp;gt;&amp;gt; /usr/lib/apache2/modules/mod_gnutls.so
&lt;br&gt;&amp;gt;&amp;gt; #3  0xb78b93f2 in _gnutls_io_write_buffered () from /usr/lib/libgnutls.so.26
&lt;br&gt;&amp;gt;&amp;gt; #4  0xb78b9950 in _gnutls_io_write_flush () from /usr/lib/libgnutls.so.26
&lt;br&gt;&amp;gt;&amp;gt; #5  0xb78b5dc0 in _gnutls_send_int () from /usr/lib/libgnutls.so.26
&lt;br&gt;&amp;gt;&amp;gt; #6  0xb78b627b in gnutls_record_send () from /usr/lib/libgnutls.so.26
&lt;br&gt;&amp;gt;&amp;gt; #7  0xb7513b09 in mgs_filter_output () from
&lt;br&gt;&amp;gt;&amp;gt; /usr/lib/apache2/modules/mod_gnutls.so
&lt;br&gt;&amp;gt;&amp;gt; #8  0x0806f10e in ap_content_length_filter ()
&lt;br&gt;&amp;gt;&amp;gt; #9  0xb74e07fc in ?? () from /usr/lib/apache2/modules/mod_proxy_http.so
&lt;br&gt;&amp;gt;&amp;gt; #10 0x08407b98 in ?? ()
&lt;br&gt;&amp;gt;&amp;gt; #11 0x084223a0 in ?? ()
&lt;br&gt;&amp;gt;&amp;gt; #12 0x084223a0 in ?? ()
&lt;br&gt;&amp;gt;&amp;gt; #13 0x00000001 in ?? ()
&lt;br&gt;&amp;gt;&amp;gt; #14 0x00002000 in ?? ()
&lt;br&gt;&amp;gt;&amp;gt; #15 0x00000000 in ?? ()
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I sent a interrupt signal to the process and then ended up in a sort
&lt;br&gt;&amp;gt;&amp;gt; of fatal error function from gnu_tls (I cannot recall the name).
&lt;br&gt;&amp;gt;&amp;gt; Maybe some function in gnu_tls is looping forever, waiting for a right
&lt;br&gt;&amp;gt;&amp;gt; return value (that never come unfortunately).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here are some other debugging clues:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
&lt;br&gt;&amp;gt;&amp;gt; 5269 www-data  20   0 15136 5516 2424 R 49.8  0.4  15:53.62 apache2
&lt;br&gt;&amp;gt;&amp;gt; 5314 www-data  20   0 15012 5296 2308 R 47.8  0.4  10:55.86 apache2
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; load average: 1.50, 1.80, 1.68
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This output is redundant in apache error log:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [Wed Oct 28 15:54:44 2009] [debug] proxy_util.c(1819): proxy: worker
&lt;br&gt;&amp;gt;&amp;gt; proxy:reverse already initialized
&lt;br&gt;&amp;gt;&amp;gt; [Wed Oct 28 15:54:44 2009] [debug] proxy_util.c(1913): proxy:
&lt;br&gt;&amp;gt;&amp;gt; initialized single connection worker 17 in child 5461 for (*)
&lt;br&gt;&amp;gt;&amp;gt; =====================================================================================
&lt;br&gt;&amp;gt;&amp;gt; [Wed Oct 28 15:48:33 2009] [info] [client 62.36.240.2] (104)Connection
&lt;br&gt;&amp;gt;&amp;gt; reset by peer: core_output_filter: writing data to the network
&lt;br&gt;&amp;gt;&amp;gt; [Wed Oct 28 15:49:40 2009] [info] [client 193.203.96.2] (32)Broken
&lt;br&gt;&amp;gt;&amp;gt; pipe: core_output_filter: writing data to the network
&lt;br&gt;&amp;gt;&amp;gt; [Wed Oct 28 15:53:59 2009] [info] [client 193.203.96.2] (32)Broken
&lt;br&gt;&amp;gt;&amp;gt; pipe: core_output_filter: writing data to the network
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I may not be able to give you more information about this server, the
&lt;br&gt;&amp;gt;&amp;gt; load was high but there were no latency.
&lt;br&gt;&amp;gt;&amp;gt; Do you have an idea about this issue ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you for your attention.
&lt;br&gt;&amp;gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;shiro.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gnutls mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26110528&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gnutls@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gnutls&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gnutls&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/High-loads-and-failure-due-to-mod_gnutls-tp26096882p26110528.html" />
</entry>

</feed>
