top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: help with shared ssl and asp.net
mooby
Posts: 3472
Location: UK

Does anyone have any experience with asp.net pages and ssl? The hosting company im using uses a shared ssl certificate (which should meet my needs).

I need to run one page on an ssl connection. Im getting a broken page https://tucano.eukhost.com/addanevent-com/test.aspx tho. Ive set in my webconfig to try work out whats going on, but no good.

The test.aspx page is just a standard "hello world" page with no partial class. A standard html page does work tho. https://tucano.eukhost.com/addanevent-com/test.htm

Any ideas? The support is giving me the run around.
system
--
Leon Trotsky
Posts: 707
Location: Brisbane, Queensland
I don't think you configure ssl in your web.config (unless its for formsauthentication stuff).

Its mainly done in the web application settings in IIS in the Security tab. Never used a shared certificate thou, just local certificate server.

Hope this helps - http://msdn2.microsoft.com/en-us/library/ms996415.aspx
mooby
Posts: 3473
Location: UK
ta. its on a shared hosted server, so i only have a s***ty web console. ive got a 90day free cert on my dev server and thats working ok, so it must be them.

thanks anyway.
Jim
Posts: 5855
Location: Brisbane, Queensland
SSL seems to be working fine on that URL to me (https://tucano.eukhost.com/addanevent-com/test.aspx)

to me it looks like the error is purely application related, not SSL configuration-related


last edited by Jim at 18:43:35 13/Jun/07
Obes
Posts: 5142
Location: Brisbane, Queensland
I second jims comment becuase http://tucano.eukhost.com/addanevent-com/test.aspx (ie. not ssl) is equally f***ed
mooby
Posts: 3476
Location: UK
^^ yeah boys, i get that. the page works over http tho. I know its a config / programitc error but cant work it out.
Jim
Posts: 5859
Location: Brisbane, Queensland
the page works over http tho.
hmm doesn't for me, or obes either - I get the same asp.net application error whether it's over ssl or not

have you edited your web.config to reflect the settings shown in the error page so that it prints out some useful info to you instead of just those suggestions?
mooby
Posts: 3478
Location: UK
you say this page is broken too? http://www.addanevent.com/test.aspx

and yeah, ive got (show errors)
Jim
Posts: 5860
Location: Brisbane, Queensland
nope that one's not broken, but that's a new URL you never mentioned before

the links you'd provided earlier yield exactly the same error whether they are viewed via ssl or not

this new link you've pasted works fine via http, but when you try and view it via SSL, you get a cert error (expected since the cert is for tukano.eukhost.com not www.addanevent.com) but then the vhost that's configured with SSL, doesn't have test.aspx in it's document root so you get a 404

and yeah, ive got (show errors)


what error text do you see? all we see is this:

http://jason.qgl.org/mooby_error.html
Obes
Posts: 5143
Location: Brisbane, Queensland
The ssl is working as expected. (Certificate errors are to be expected when the hosts don't match)
You have issues with your aspx.

Can I suggest a very simple aspx, and get rid of your config.web ?
eg.

<%@Page Language="C#" Trace="true" %>
<%@Import Namespace="System" %>
<%@Import Namespace="System.Web" %>
<%
String szMsg = String.Copy("Hello World");

Response.Write("<html><body>" + szMsg +
"</body></html>");
Trace.Write("hello.aspx", "Exiting hello.aspx");
%>


Then test that via https and http ?

If that works its probably a problem with your config.web and your "secureWebPages" section. That said I don't code asp .net ... and as such could be miles off the goal posts.

last edited by Jim at 22:37:38 13/Jun/07
mooby
Posts: 3479
Location: UK
yeah jim, thats the error i see too.

sorry guys, didnt explain something too well. the site is www.addaevent.com and i have a "hello world" page (like yours obes) at http://www.addanevent.com/test.aspx

because its a shared ssl, the host says i have to use https://tucano.eukhost.com/addanevent-com/test.aspx but like you guys have spotted, that non ssl page their is broken too. ill ask the host again.
Jim
Posts: 5862
Location: Brisbane, Queensland
it's fine now mooby, prints out 'test' via SSL
mooby
Posts: 3481
Location: UK
yay! thanks all anyway. i know alot more about ssl now, did quite a bit of reading.

must of been the host cause i sent them *another* grumpy email. : )
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.