[Mono-bugs] [Bug 61218][Nor] Changed - Problem redirecting from https to http
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 15 Jul 2004 13:49:18 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by sebastien@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61218
--- shadow/61218 2004-07-15 09:00:54.000000000 -0400
+++ shadow/61218.tmp.13902 2004-07-15 13:49:18.000000000 -0400
@@ -1,12 +1,12 @@
Bug#: 61218
Product: Mono: Class Libraries
Version: unspecified
OS: All
OS Details:
-Status: NEEDINFO
+Status: REOPENED
Resolution:
Severity: Unknown
Priority: Normal
Component: System
AssignedTo: sebastien@ximian.com
ReportedBy: miguelanxo@telefonica.net
@@ -391,6 +391,95 @@
-------------------------------
RewriteEngine on
RewriteRule cita/paso3.php
http://miguelanxo.galpon.org/cita/paso4omi.php [R]
If you need more help, just ask.
+
+------- Additional Comments From sebastien@ximian.com 2004-07-15 13:49 -------
+Results with tlstest
+
+1. Using stream - we see the redirection
+
+# mono tlstest.exe --stream --show
+https://miguelanxo.galpon.org/cita/paso3.php
+
+https://miguelanxo.galpon.org/cita/paso3.php
+CERTIFICATE:
+ Format: X509
+ Name: C=XY, S=Snake Desert, L=Snake Town, O="Snake Oil, Ltd",
+OU=Webserver Team, CN=www.snakeoil.dom, E=www@snakeoil.dom
+ Issuing CA: C=XY, S=Snake Desert, L=Snake Town, O="Snake Oil,
+Ltd", OU=Certificate Authority, CN=Snake Oil CA, E=ca@snakeoil.dom
+ Key Algorithm: 1.2.840.113549.1.1.1
+ Serial Number: 01
+ Key Alogrithm Parameters: 0500
+ Public Key:
+30818902818100A46E53140ADE2CE360559AF242A6AF47122F17CEFABADC4E635634B9BA734B78443DC66C69A425B361029D09043F723DD827D3B05A4577B736E42623CC12B8AEDEA7B63A823C7C24590AF896438BA329363F917F5DC72394297F0ACE0ABD8D9B2F1917AAD58EEC66A237EB3F57533CF2AABB79194B907EA7A399FE844C89F03D0203010001
+
+
+ Valid From: 3/5/2003 8:47:45 AM
+ Valid Until: 3/3/2008 8:47:45 AM
+
+Error #-2146762481: CERT_E_CN_NO_MATCH 0x800B010F
+Error #-2146762486: CERT_E_CHAINING 0x800B010A
+
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
+<HTML><HEAD>
+<TITLE>302 Found</TITLE>
+</HEAD><BODY>
+<H1>Found</H1>
+The document has moved <A
+HREF="http://miguelanxo.galpon.org/cita/paso4omi.php">here</A>.<P>
+<HR>
+<ADDRESS>Apache/1.3.31 Server at miguelanxo.galpon.org Port 443</ADDRESS>
+</BODY></HTML>
+
+
+2. Using WebRequest (tlstest always use GET) - we get a 400 error
+
+# mono tlstest.exe --web --show
+https://miguelanxo.galpon.org/cita/paso3.php
+
+https://miguelanxo.galpon.org/cita/paso3.php
+CERTIFICATE:
+ Format: X509
+ Name: C=XY, S=Snake Desert, L=Snake Town, O="Snake Oil, Ltd",
+OU=Webserver Team, CN=www.snakeoil.dom, E=www@snakeoil.dom
+ Issuing CA: C=XY, S=Snake Desert, L=Snake Town, O="Snake Oil,
+Ltd", OU=Certificate Authority, CN=Snake Oil CA, E=ca@snakeoil.dom
+ Key Algorithm: 1.2.840.113549.1.1.1
+ Serial Number: 01
+ Key Alogrithm Parameters: 0500
+ Public Key:
+30818902818100A46E53140ADE2CE360559AF242A6AF47122F17CEFABADC4E635634B9BA734B78443DC66C69A425B361029D09043F723DD827D3B05A4577B736E42623CC12B8AEDEA7B63A823C7C24590AF896438BA329363F917F5DC72394297F0ACE0ABD8D9B2F1917AAD58EEC66A237EB3F57533CF2AABB79194B907EA7A399FE844C89F03D0203010001
+
+
+ Valid From: 3/5/2003 8:47:45 AM
+ Valid Until: 3/3/2008 8:47:45 AM
+
+Error #-2146762481: CERT_E_CN_NO_MATCH 0x800B010F
+FAILED: #-2146233079
+System.Net.WebException: The remote server returned an error: (400)
+Bad Request.
+in <0x00472> System.Net.HttpWebRequest:CheckFinalStatus
+(System.Net.WebAsyncResult)
+in <0x00065> (wrapper remoting-invoke-with-check)
+System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
+in <0x001af> System.Net.HttpWebRequest:EndGetResponse
+(System.IAsyncResult)
+in <0x0006d> System.Net.HttpWebRequest:GetResponse ()
+in <0x001ff> TlsTest:GetWebPage (string)
+in <0x0042d> TlsTest:Main (string[])
+
+
+3. Using WebRequest to get the redirected URL (http)
+
+# mono tlstest.exe --web --show
+http://miguelanxo.galpon.org/cita/paso4omi.php
+
+http://miguelanxo.galpon.org/cita/paso4omi.php
+
+<h1>GET</h1><h1>POST</h1>
+
+
+So it indeed look like we're not redirecting correctly.