Click here to Skip to main content
11,717,620 members (80,818 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: IIS7 ssl https ASP.NET4.0
I hosted my code in IIS7.0 as a website and for a single aspx page in "Features View" tab enabled the SSL Settings with client certificate required option.

I created a new "Self-signed certificate" in iis.

When i access that particular page without https it correctly shows "The page you are trying to access is secured with Secure Sockets Layer (SSL)." error. But the problem is when i acess the page with https it is showing me the error

Secure Connection Failed
An error occurred during a connection to localhost:1141.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

Pls help me with this error...

I NEED TO PROVIDE HTTPS address for only one page in my website.
Posted 26-Feb-13 22:38pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Have you set the SSL port directive in IIS to 443? Perhaps if you can show your IIS config?

Also this MS support article may help you:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 764
1 OriginalGriff 215
2 F-ES Sitecore 210
3 Maciej Los 140
4 Jochen Arndt 120
0 Sergey Alexandrovich Kryukov 1,494
1 OriginalGriff 535
2 Maciej Los 529
3 Richard MacCutchan 440
4 CHill60 415

Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100