CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 1/30/2008 4:51:13 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 10 Views: 34 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
11 Items, 1 Pages 1 |< << Go >> >|
hardy
Asp.Net User
how to make https?1/30/2008 4:51:13 AM

0/0

 hello all..

i want ask about ssl for making https..

i am confused about this url http://support.microsoft.com/?id=298805

the first thing to do is get certificate from  the third-party CA.

but, after i fill data in certificate and save the sertificate.txt, it told to send that to your certification authority.

where can i send it? i don't understand about  your certification authority.

is there we can make hhtps in website local without install certificate ssl?

thx... 

florinlabou
Asp.Net User
Re: how to make https?1/30/2008 9:02:52 AM

0/0

Hi,

A certificate authority is a third party company that issues certificates. There is no way to have secure connections without the certificate. For testing purposes you may try to generate a certificate by yourself and install it on your local IIS server. There is a tool able to generate this certificate, it is called OpenSSL. A description of how you should generate the certificate you may find here:

http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html

OpenSSL Win32 binary are available here:

http://www.slproweb.com/products/Win32OpenSSL.html

I hope this will help.

Cheers,

Florin


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
hardy
Asp.Net User
Re: how to make https?1/30/2008 11:51:59 AM

0/0

thx florin..

but at step one is can not work

Set up a Certificate Authority (CA)

  1. First, we create a 1024-bit private key to use when creating our CA.:
    C:\ssl>openssl genrsa -des3 -out keys/ca.key 1024
    Loading 'screen' into random state - done
    warning, not much extra random data, consider using the -rand option
    Generating RSA private key, 1024 bit long modulus
    ...........++++++
    ..................++++++
    e is 65537 (0x10001)
    Enter PEM pass phrase: - choose a memorable pass phrase to use for this key
    Verifying password - Enter PEM pass phrase: - type your pass phrase again for verification
    The pass phrase will be requested whenever you use this certificate for anything, so make sure you remember it. This will create a file called c:\ssl\keys\ca.key, containing our certificate authority private key.

 

it seems the openssl genrsa -des3 -out keys/ca.key 1024 can not detect..

i have download openssl and put in folder ssl..

but it can not detect it..

what should i do?

thx... 

 

 

florinlabou
Asp.Net User
Re: how to make https?1/30/2008 12:51:24 PM

0/0

Open a command prompt and switch the current directory to your OpenSSL\Bin folder. Your prompt should look like c:\OpenSSL\bin. Now you should have access to openssl.exe. Alternately, you my add c:\OpenSSL\bin (this is the default installation, adjust this path according to your own installation folder) to your PATH local variable from control panel / system / advanced / environment variables / user variables .


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
hardy
Asp.Net User
Re: how to make https?1/30/2008 4:20:46 PM

0/0

your step is from Install and configure the OpenSSL toolkit (1-7step),  i have made it, it can work.. but at second  Set up a Certificate Authority (CA), 

has 1-3 step, step 1 can not work.. i am don't know the problem.. openssl.conf in c:/ssl/  is not match with this:

openssl genrsa -des3 -out keys/ca.key 1024
what should i do?
thx... 
hardy
Asp.Net User
Re: how to make https?1/31/2008 2:30:16 AM

0/0

 sory about yesterday..

i think after install openssl, then create new folder is ssl.

after i read from u url carefully,  he  change the openssl  be ssl...

now, i can  create and install certificate in default website...  in default  website, i put  my project is name Ta.

if i run my project in IE, all page in my project use https...

but i want only use https is some page like pay.aspx and login.aspx..

where should i setting?

thx...
 

florinlabou
Asp.Net User
Re: how to make https?1/31/2008 8:14:18 AM

0/0

To control which files (not) require SSL: Open IIS manager, expanding the website, right click the page file / application folder / virtual folder and then select ?Properties?. In the ?File Security? / "Directory Security" tab, click the ?Edit? button which under the ?View Certificate?? button. You will find an option: ?Require secure channel (SSL)?.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
hardy
Asp.Net User
Re: how to make https?1/31/2008 8:59:43 AM

0/0

 i have make like u command..

but all page can use http or https...

i don't understand..

can u give more detail?

in iis have virtual folder, i click view sertificate in directory security, after that i choose detail tab, and click edit property, and choose disable all purpose for this certificate.. and ok.

after that, i click edit in under view certificate.. i am not checklist anything.

 

then in pay.aspx, i clikc view certificate, choose enable all purpose for this certificate.. then in edit, i checklist require secure channel and require 128 encryption.

 

after that i run default.page. it can use http and can not use https. then i run to pay.aspx, it use https. then i click default.aspx, it use https and can http too..
 is there something wrong with my setting in iis?

pls.. thx...

 

florinlabou
Asp.Net User
Re: how to make https?1/31/2008 9:18:01 AM

0/0

I'm to a guru in IIS management. I guess you can say only that a page requires a secure channel (like for your login.aspx or pay.aspx) but I'm not sure that you can say don't allow https on other pages. Maybe I'm wrong. Anyway, it doesn't make to much sense to say 'disable secure channel for certain pages'. I think in the end is a matter how you navigate through your pages using secure / unsecure channel. And when you were in login page you need to make sure that you redirect to http://  or to a https:// based on your requirements. See this thread for a similar discussion: http://forums.asp.net/t/1195905.aspx


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
hardy
Asp.Net User
Re: how to make https?2/1/2008 2:11:37 AM

0/0

so the https must be appear when we click link url from http to https...

i have see your link thread, there is write use code at every page:

If Request.IsSecureConnection Then

Response.Redirect(Request.Url.AbsoluteUri.Replace("https://", "http://"))

End If

i have try it, it can work...

thx very much florin...

have a nice day....Wink 

 

florinlabou
Asp.Net User
Re: how to make https?2/1/2008 8:20:43 AM

0/0

This is it. You're welcome.

Cheers,

Florin


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
11 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Ruby Cookbook Authors: Lucas Carlson, Leonard Richardson, Pages: 873, Published: 2006
Enterprise Java Security: Building Secure J2EE Applications Authors: Marco Pistoia, Safari Tech Books Online, Pages: 581, Published: 2004
PHP and MySQL Web Development Authors: Luke Welling, Laura Thomson, Pages: 871, Published: 2003
Beginning J2ME: From Novice to Professional Authors: Sing Li, Jonathan Knudsen, Pages: 456, Published: 2005
Security Technologies for the World Wide Web Authors: Rolf Oppliger, Pages: 419, Published: 2000
Cross-platform Web Services Using C# and Java Authors: Brian Hochgurtel, Pages: 386, Published: 2003
Creating Mobile Games: Using Java ME Platform to Put the Fun Into Your Mobile Device and Cell Phone Authors: Carol Hamer, Pages: 415, Published: 2007
WebLogic: The Definitive Guide Authors: Jon Mountjoy, Avinash Chugh, Pages: 828, Published: 2004
HTTP: The Definitive Guide: The Definitive Guide Authors: David Gourley, Brian Totty, Marjorie Sayer, Anshu Aggarwal, Sailu Reddy, Pages: 656, Published: 2002

Web:
how to make http be https - IIS.net Thread: how to make http be https. Last post 01-31-2008 10:39 PM by qbernard. 8 replies. Average Rating Rate It (5)Thank you for the rating! ...
How to make URL say HTTPS (I have an SSL Cert) - WebDeveloper.com How to make URL say HTTPS (I have an SSL Cert) Domain Names. ... How do I make my URL say https://www.example.com instead of ...
Java - How To Make http To https Request HTTP stands for HyperText Transport Protocol, which is just a fancy way of saying it's a protocol (a language, in a manner of speaking) for information to ...
[support] how to make drupal admin section https only? Jun 14, 2006 ... This code >>>> will force a redirect to an https session for requests to the / user are >>>> in Drupal which covers logins. Make sure to turn ...
Curl: [Snoopy]:How to make it work with https. This message : [ Message body ]; Next message : Daniel Stenberg: "Re: [Snoopy]: How to make it work with https." Previous message : akorthaus_at_web.de: "Re: ...
how can i make https page from asp.net to secure it - ASP.NET Forums how can i make https page from asp.net to secure it. Last post 09-09-2006 3:51 PM by Xanderno. 3 replies. Sort Posts: ...
How do I make https connection? I have been trying to make http request programmatically. While http:// requests are succuessful, I could not made https request. ...
How to make https URLs go to public_html? [Archive] - DirectAdmin ... [Archive] How to make https URLs go to public_html? General Technical Discussion & Troubleshooting.
[support] how to make drupal admin section https only? Jun 13, 2006 ... How do I make sure that all admin pages and those only, >>>> are sent via https, and that username and passwords are >>>> sent encrypted ...
Clarity’s blog » how to make a HTTPS GET with a client certificate ... how to make a HTTPS GET with a client certificate in .net. Posted by Clarity on 25 Feb 2005 at 08:50 pm | Tagged as: Tech ...

Videos:
FREE MONEY! How To Make Money Online FREE ADDS Google Adsense https://www.google.com/adsense Amazon Associates https://affiliate-program.amazon.com VIDEO Youtube http://au.youtube.com/...
Bux.to |How to Make Money Online| Bux.to Scamming Bux.to to get maximum money with minimal effort! http://tinyurl.com/3demeh 1. Download Firefox http://www.mozilla.com/en-US/firefox/ 2. M...
How to make Firefox 3 Faster with only 2 addons How to make Firefox 3 Faster with only 2 addons. Links ****** Adblock Plus: https://addons.mozilla.org/en-US/firefox/addon/1865 Flashblock: https:/...
Bux.to |How to Make Money Online| Bux.to !!!UPDATE!!! Go to http://unlockmy.info and register (with your own referral) another account with a different email address. Click the ads manually ...
FREE MONEY! How to Make Money Online FREE! ADDS Google Adsense https://www.google.com/adsense Amazon Associates https://affiliate-program.amazon.com VIDEO Youtube http://au.youtube.com/...
How to MAKE a banner like mine MAKE EASY MONEY HERE: http://tinyurl.com/3xujzp REMEMBER!!! ADD &FMT=18 after the url and press enter to view the video in high quality! WAYY B...
How to make an WoW private server 2.4.+ (Ascent) (Antrix) CLICK MORE INFO.... Links Panex-Gaming : http://www.panex-gaming.com/ Hamachi : https://secure.logmein.com/products/hamachi/vpn.asp/ Panex-Gaming B...
Bux.to |How to Make Money Online| Bux.to !!!UPDATE!!! Go to http://unlockmy.info and register (http://bux.to/?r=mraznnoob) another account with a different email address. Click the ads manu...
How to make free money! Sorry YouTube keeps putting spaces in the web addresses... Song: The Caesars - Jerk it out 1. Make a PayPal Account: https://www.paypal.com/us/cgi-...
How To Make XP and Vista Look Like a Mac Leopard Easily make your computer look like a mac. Downloads: Dock: www.rocketdock.com Stack Dock: http://rocketdock.com/addons/docklets/1791 Leopard Wall...




Search This Site:










forms authentication of a subdirectory (using <location>)

write it ourselves or using the query methods from web matrix?

requesting server name

page refresh problem

unable to run simple page

webform hell

where is the database located?

help creating new web project with vs2005 and tfs

when is dnn 2.0 getting launched?

comparing dates and times

how to populate a textbox with another value from a hidden field

login failed

theme'n vs custom

how can i place a lock on table when one user is updating,

validation control and 2 buttons

based on user id how to open the userlogin page

download dotfuscator professional edition

search code samples requested

compiler error message: bc30560: 'global' is ambiguous in the namespace 'dotnetnuke'.

should is used shared functions or not?

insert custom controls

impersonation when creating temporary file on server (iis 5)

masterpage & crosspagepostback woes...

help!! image size in outlook 2007

how run sql scripts manually

where clause and invalid name issue

selecting multiple controls w/ ctrl + click

how to use string and substring

sqlparameters

microsoft.practices.enterpriselibrary.caching.cachemanager' does not contain a definition for removeitemsfromcache

 
All Times Are GMT