* [9fans] Problem with imaps/imap.gmail.com
@ 2015-07-30 13:49 Ingo Krabbe
2015-07-30 17:48 ` cinap_lenrek
2015-07-30 20:19 ` David du Colombier
0 siblings, 2 replies; 4+ messages in thread
From: Ingo Krabbe @ 2015-07-30 13:49 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
Hi,
I'm using plan9 legacy and I have a problem with the tls certificate or
with the handshake when I try to connect to the gmail.com account. It used
to work for some time now. Today something went wrong with the imaps
connection. I can't remember what, but there was some output on the console.
Now, when I try to reconnect to the gmail box with
echo -n 'open /imaps/imap.gmail.com/NAME/INBOX gmail' > /mail/fs/ctl
echo: write error: imap.gmail.com/imaps:tlsClient: tls: local invalid
x509/rsa certificate
I had a similar error a few weeks ago but eventually it went away. Does
anyone know how to solve this?
regards, ingo
[-- Attachment #2: Type: text/html, Size: 942 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Problem with imaps/imap.gmail.com
2015-07-30 13:49 [9fans] Problem with imaps/imap.gmail.com Ingo Krabbe
@ 2015-07-30 17:48 ` cinap_lenrek
2015-07-30 20:19 ` David du Colombier
1 sibling, 0 replies; 4+ messages in thread
From: cinap_lenrek @ 2015-07-30 17:48 UTC (permalink / raw)
To: 9fans
that sounds like X509toRSApub() failing to parse the certificate.
can you reproduce it with tlsclient?
term% tlsclient tcp!imap.gmail.com!imaps
* OK Gimap ready for requests from 89.186.156.12 g20mb266178022wjn
--
cinap
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Problem with imaps/imap.gmail.com
2015-07-30 13:49 [9fans] Problem with imaps/imap.gmail.com Ingo Krabbe
2015-07-30 17:48 ` cinap_lenrek
@ 2015-07-30 20:19 ` David du Colombier
2015-07-31 0:07 ` Ingo Krabbe
1 sibling, 1 reply; 4+ messages in thread
From: David du Colombier @ 2015-07-30 20:19 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> echo -n 'open /imaps/imap.gmail.com/NAME/INBOX gmail' > /mail/fs/ctl
> echo: write error: imap.gmail.com/imaps:tlsClient: tls: local invalid
> x509/rsa certificate
It works for me:
% tlsclient tcp!imap.gmail.com!imaps
* OK Gimap ready for requests from 88.164.189.37 z20mb397773409wjy
I notice the certificate is signed with SHA-256.
Maybe you're running an older release of 9legacy.
Please apply this patch and give a try:
http://9legacy.org/9legacy/patch/libsec-x509-sha256rsa.diff
--
David du Colombier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Problem with imaps/imap.gmail.com
2015-07-30 20:19 ` David du Colombier
@ 2015-07-31 0:07 ` Ingo Krabbe
0 siblings, 0 replies; 4+ messages in thread
From: Ingo Krabbe @ 2015-07-31 0:07 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 774 bytes --]
Great, after patching libsec and reinstall of tlsclient and upas both
command work with gmail.
Maybe I should run a system update
2015-07-30 22:19 GMT+02:00 David du Colombier <0intro@gmail.com>:
> > echo -n 'open /imaps/imap.gmail.com/NAME/INBOX gmail' > /mail/fs/ctl
> > echo: write error: imap.gmail.com/imaps:tlsClient: tls: local invalid
> > x509/rsa certificate
>
> It works for me:
>
> % tlsclient tcp!imap.gmail.com!imaps
> * OK Gimap ready for requests from 88.164.189.37 z20mb397773409wjy
>
> I notice the certificate is signed with SHA-256.
> Maybe you're running an older release of 9legacy.
>
> Please apply this patch and give a try:
>
> http://9legacy.org/9legacy/patch/libsec-x509-sha256rsa.diff
>
> --
> David du Colombier
>
>
[-- Attachment #2: Type: text/html, Size: 1568 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-31 0:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-30 13:49 [9fans] Problem with imaps/imap.gmail.com Ingo Krabbe
2015-07-30 17:48 ` cinap_lenrek
2015-07-30 20:19 ` David du Colombier
2015-07-31 0:07 ` Ingo Krabbe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).