Re: SSL connection fails on the server with SSL_ERROR_HANDSHAKE_FAILURE_ALERT

2006-10-25 Thread Nelson B
Honzab wrote: >> I used Wireshark to watch the traffic and found a very strange behavior >> (the reason of the connection failure): Please use ssltap instead. Save all the output and any cert.NNN files that it creates. >> - ClientHello packet contains (among others) suite 0xC014 >> (TLS_ECDHE_R

Re: Getting SSL server cert from within a plugin

2006-10-25 Thread Nelson B
Chris Masone wrote: > Ok, I've explored further. It's not so much a null problem. It seems > that, when I get the SSL cert using the code below, for the FIRST > REQUEST AND RESPONSE I get the cert from the previous site. If there > was no cert, I get nothing. > > This leads me to believe tha

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Nelson B
Frank Lee wrote: > Found Cl to be from Microsoft Visual Studio 8 Right. It's Microsoft's version of "cc", the c compiler. > cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 > -D_X86_=1 > -DF

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread David Stutzman
Frank Lee wrote: Anyway, all this work I'm trying to do comes from trying to enable my .jsp page to AJAX to a localhost server. Here's my train of actions so far: Ajax to localhost? => Need signed scripts. Signed scripts? => Need SignTool Need SignTool? install cygwin + Build NSS + install mozt

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread [EMAIL PROTECTED]
do u have MS VisualStudio? If not, there is a personal edition for free from Microsot site. Google for it. BTW, I have not resolved my issues yet. NSPR library is fine because every compile is wrapped by cygwin_wrapper that handles the unix-style path before passing it to cl.exe. This is not done

Cert signing API

2006-10-25 Thread [EMAIL PROTECTED]
Hi, I noticed that the certhigh/ and certdb/ provide some certificate related APIs. But there is not API in signing a certificate. In the cmd/certutil.c, it has a few functions that sign certificates and certificate request. Shall we provide some cert signing API from the NSS library itself? W

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Julien Pierre
Frank, Frank Lee wrote: sh ../../build/cygwin-wrapper cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 -D_X86_=1 -DFORCE_PR_LOG /cygdrive/c/Frank_Lee/Eclipse/Academy_workspace/NSS_SignTools/moz

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread [EMAIL PROTECTED]
Julien Pierre wrote: > Frank, > > Frank Lee wrote: > > sh ../../build/cygwin-wrapper > > cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT > > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 > > -D_X86_=1 > > -DFORCE_PR_LOG > > /cygdrive/c/Frank_L

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread [EMAIL PROTECTED]
Nelson B wrote: > Frank Lee wrote: > > Found Cl to be from Microsoft Visual Studio 8 > > Right. It's Microsoft's version of "cc", the c compiler. > > > cl -Fonow.obj -c -W3 -nologo -GF -Gy -MD -O2 -UDEBUG -U_DEBUG -UWINNT > > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ON

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Julien Pierre
Wei, [EMAIL PROTECTED] wrote: Are you using cygwin's make program ? Please do a "which make" to verify. If not, you need to do so. I have the same issue. make does not exist under cygwin. I used gmake from moztools. Yes, cygwin has its own verison of make. Just not in your own cygwin insta

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Frank
Dave, ARGH~! was looking at: http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_1_RTM/ http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_2_RTM/ http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_3_RTM/ instead of http://ftp.mozilla.org/pub/m

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Frank
Yeah, I'm using make from cygwin, but the problem still exists. "Julien Pierre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Wei, > > [EMAIL PROTECTED] wrote: > >>>Are you using cygwin's make program ? Please do a "which make" to >>>verify. If not, you need to do so. >> >> I have

Re: Help on building NSPR, NSS on Windows

2006-10-25 Thread Julien Pierre
Frank wrote: Yeah, I'm using make from cygwin, but the problem still exists. Please check that you have these exact cygwin tools : http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#GNU_Tools_for_Microsoft_Windows_.28Cygwin.29 ___ dev-te