help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GnuTLS error -73: ASN1 parser: Error in TAG.


From: Nikos Mavrogiannopoulos
Subject: Re: GnuTLS error -73: ASN1 parser: Error in TAG.
Date: Fri, 18 Dec 2009 12:10:17 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Ray Van Dolson wrote:
> I'm getting this from multiple FTP clients that rely on GnuTLS when
> connecting to an FTP site using explicit TLS (STARTTLS / AUTH TLS).
> 
> I suspect this is an issue with the certificate the site uses, but
> would like to confirm and also learn a bit about how to troubleshoot
> this sort of thing.

It seems to be an encoding error in the certificate.

> I tried to use gnutls-cli:
> 
>   $ gnutls-cli -V --insecure --print-cert -s -p 21 ftp.pp.xw.gm.com
>   Resolving 'ftp.pp.xw.gm.com'...
>   Connecting to '198.208.1.30:21'...
> 
>   - Simple Client Mode:
> 
>   - Received[51]: 220 usplgmxfs001 FTP server (TLSFTP 1.4.2) ready.
>   AUTH TLS
>   - Sent: 9 bytes
>   - Received[18]: 234 AUTH TLS OK.
>   *** Starting TLS handshake
>   *** Fatal error: ASN1 parser: Error in TAG.
>   *** Handshake has failed
> 
> However it doesn't really give me any specific errors here and I'm not
> sure how to force it to dump the certificate in this scenario.  tcpdump
> shows me that the cert _is_ being transferred, but, I guess since it's
> invalid, gnutls-cli doesn't proceed any further with output.

Indeed. The handshake procedure tries to parse the certificate to
retrieve parameters and fails thus handshake is not completed in order
to return the certificate.

> So it looks like a few of the listed fields are invalid.. but, again, I
> don't know how to actually dump a copy of the cert so I can look at it
> more closely.

Maybe you could extract the certificate with wireshark.


regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]