|
![]() |
|
| Author |
|
|||||||
|
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 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. |
|||||||
| #0 09:38pm 12/06/07 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
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 |
|||||||
| #1 01:47pm 13/06/07 |
|
|||||||
|
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. |
|||||||
| #2 06:00pm 13/06/07 |
|
|||||||
|
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 |
|||||||
| #3 06:43pm 13/06/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
|
|||||||
| #4 08:07pm 13/06/07 |
|
|||||||
|
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.
|
|||||||
| #5 09:11pm 13/06/07 |
|
|||||||
|
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? |
|||||||
| #6 09:24pm 13/06/07 |
|
|||||||
|
mooby
Posts: 3478
Location: UK
|
you say this page is broken too? http://www.addanevent.com/test.aspx
and yeah, ive got |
|||||||
| #7 09:33pm 13/06/07 |
|
|||||||
|
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 |
|||||||
| #8 09:48pm 13/06/07 |
|
|||||||
|
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.
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 |
|||||||
| #9 10:37pm 13/06/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. |
|||||||
| #10 12:04am 14/06/07 |
|
|||||||
|
Jim
Posts: 5862
Location: Brisbane, Queensland
|
it's fine now mooby, prints out 'test' via SSL
|
|||||||
| #11 07:54am 14/06/07 |
|
|||||||
|
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. : ) |
|||||||
| #12 06:57pm 14/06/07 |
|
|||||||
|
system
|
--
|
|||||||
| #12 |
|
|||||||
|
| ||||||||