IT Community - Software Programming, Web Development and Technical Support

SSL integration for ASP.NET web application

This is a discussion on SSL integration for ASP.NET web application within the ASP and ASP.NET Programming forums, part of the Web Development category; Dear all, I am building a website which will have payment gateway integrated to it. Can anybody tell me how ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-01-2007, 04:49 AM
garunprasad garunprasad is offline
D-Web Trainee
 
Join Date: Mar 2007
Location: Chennai
Posts: 45
garunprasad is on a distinguished road
Send a message via ICQ to garunprasad Send a message via AIM to garunprasad Send a message via MSN to garunprasad Send a message via Yahoo to garunprasad Send a message via Skype™ to garunprasad
Question SSL integration for ASP.NET web application

Dear all,
I am building a website which will have payment gateway integrated to it.
Can anybody tell me how to implement SSL to process secure payment transaction between my website and that of the payment processing server.
__________________
G.A.P
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-01-2007, 05:17 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Thumbs up Re: SSL integration for ASP.NET web application

Hi arun,

Quote:
Can anybody tell me how to implement SSL to process secure payment transaction between my website and that of the payment processing server.
First You Need a SSL Certificate Arun. To get the certificate follow the steps.

1. Create a certificate request
2. Submit a certificate request
3. Issue and download a certificate.
4. Install the certificate and set up an SSL Web site.
5. Configure and test the certificate.

Once your SSL Certificate is ready for your web site, you can easily use that certificate for your payment process.

Configure those Pages as SSL pages by usign The Certificate.

Hope this is usefull to you.
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-01-2007, 06:09 AM
garunprasad garunprasad is offline
D-Web Trainee
 
Join Date: Mar 2007
Location: Chennai
Posts: 45
garunprasad is on a distinguished road
Send a message via ICQ to garunprasad Send a message via AIM to garunprasad Send a message via MSN to garunprasad Send a message via Yahoo to garunprasad Send a message via Skype™ to garunprasad
Question Re: SSL integration for ASP.NET web application

Can you tell me how to create a certificate request. Is this bound to any format? i mean , do we have a specified format for placing a certificate request or do u suggest any organization whom i must contact to get a certificate?

Thanks in advance
__________________
G.A.P
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-03-2007, 09:43 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: SSL integration for ASP.NET web application

Hi guys,


I have heard that Win2003 Certificate Server can create a certificate which can be used in IIS like a Verisign certificate in order to create SSL sessions. I have spent 8 hours reading through the documentation and can't tell if it is true.

Has anyone here done this or know of a resource where I could find out how to do it? Just want to have https availalbe on the Web server and wanted to try the Microsoft solution if it works.

I created a request file in IIS but can't see anyway for Certificate Server to recognise it.

Any help would be appreciated!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-03-2007, 09:56 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Thumbs up Re: SSL integration for ASP.NET web application

The IIS 6.0 Resource Kit (available for download from Windows Deployment and Resource Kits) contains several valuable tools including one—selfssl.exe—which makes it very easy to create and install a self-signed SSL certificate for testing purposes.

Although the selfssl.exe tool is part of the IIS 6.0 Resource Kit and does not explicitly support earlier versions of IIS, my colleagues and I have successfully experimented with it on IIS 5.0. I have also used the makecert.exe tool to generate a self-signed x.509 certificate that can be used for testing. The MSDN Library has instructions for the makecert.exe tool at Certificate Creation Tool, but using the selfssl.exe tool is easier.


http://msdn.microsoft.com/library/en...akeCertExe.asp
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-03-2007, 09:59 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Default Re: SSL integration for ASP.NET web application

Hi BlueSky & ArunPrasad,

Yes, Certificate Server will do what you ask. It's pretty straightforward really. Just create your request file on the server for which you want the certificate. Then run Certificate Server, either on the same box or another, it doesn't matter. Certificate Server will ask for the certificate request file and then spit out a certificate. Take the certificate and install it on the targeted server.

It's not good for production, only in that you'd have to establish the certificate server on the Web (or on your intranet if you're just developing an intranet app), so that clients could verify the authenticity of the server certificate. Of course, since you are the user and the issuer of the certificate that doesn't really mean much.


Otherwise If you get the server form a hosting company, That hosting company also having the service of SSL certification thing. Think it cost few dollers per year. By using that SSL Certificate you can create the SSL session for your application.

hope usefull
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-03-2007, 10:11 AM
garunprasad garunprasad is offline
D-Web Trainee
 
Join Date: Mar 2007
Location: Chennai
Posts: 45
garunprasad is on a distinguished road
Send a message via ICQ to garunprasad Send a message via AIM to garunprasad Send a message via MSN to garunprasad Send a message via Yahoo to garunprasad Send a message via Skype™ to garunprasad
Default Re: SSL integration for ASP.NET web application

Thanks H2O,

So as per your reply, i can generate a certificate on my own for test purpose but i can't / shouldn't use the same test certificate when i go live / production , right?

can you help me by providing useful resource to create a test certificate on my server?. Also i have heard that verisign , godaddy etc sell SSL certificates. do i have to purchase SSL certificate from them when i go production and will these companies provide certificates for demo purpose?

Thanks in advance
__________________
G.A.P
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-03-2007, 10:18 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Thumbs up Re: SSL integration for ASP.NET web application

Hi Arun,

See Microsoft's How to Configure Certificate Server for Use with SSL on IIS.

The above MSDN article gives you how to configure the Certification Server to create the SSL certification.

ya, you can buy the SSL certificate as i said in the above post.

bye.
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-03-2007, 10:20 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 350
Venkat is on a distinguished road
Default Re: SSL integration for ASP.NET web application

Hi,

Yes, Certification Server will do that. But there's more; Browsers come pre-configured with a list of CAs, and if you're using one of them (like VeriSign), then your users won't be annoyed by an "is it OK" challenge. With yours, they will.

A minor point, but its acceptability to your clients will depend on the kind of relationship you have with them.

The charge for a 3rd-party Cert is far less that the cost of the hours you've put in so far, I'll guess. Consider the bigger pic.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-03-2007, 11:27 AM
garunprasad garunprasad is offline
D-Web Trainee
 
Join Date: Mar 2007
Location: Chennai
Posts: 45
garunprasad is on a distinguished road
Send a message via ICQ to garunprasad Send a message via AIM to garunprasad Send a message via MSN to garunprasad Send a message via Yahoo to garunprasad Send a message via Skype™ to garunprasad
Default Re: SSL integration for ASP.NET web application

Yes Venkat,

you are right, i am ready to buy the 3rd party SSL certification to my Application while it comes to Live, But see I am a developer, i must know how to create those SSL Certification and Use it in production. That's why.

Thanks H2o the link given by u is very helpfull to me, Let me try this will come back to you with the feedback.

Thanks
__________________
G.A.P
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 08-06-2007, 12:42 AM
garunprasad garunprasad is offline
D-Web Trainee
 
Join Date: Mar 2007
Location: Chennai
Posts: 45
garunprasad is on a distinguished road
Send a message via ICQ to garunprasad Send a message via AIM to garunprasad Send a message via MSN to garunprasad Send a message via Yahoo to garunprasad Send a message via Skype™ to garunprasad
Unhappy Re: SSL integration for ASP.NET web application

Quote:
Originally Posted by H2o View Post
Hi Arun,

See Microsoft's How to Configure Certificate Server for Use with SSL on IIS.

The above MSDN article gives you how to configure the Certification Server to create the SSL certification.

ya, you can buy the SSL certificate as i said in the above post.

bye.


Hi H2o,

I tried to configure the Certification Serverfor use with SSL on IIS. But I am getting the error.

error code = 57..

Do you have any idea why i am getting the error..

Pls Help Me
__________________
G.A.P
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 08-13-2007, 09:25 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Smile Re: SSL integration for ASP.NET web application

Yes.. gimme some time to look after the error and will get back to you ASAP.


Thanks,
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 08-23-2007, 05:10 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Default Re: SSL integration for ASP.NET web application

Hi

Error code 57 = Unable to set identity certificate...

Kindly recheck the configuration process for any bugs & user end errors.


Regards,
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 08-23-2007, 05:29 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Default Re: SSL integration for ASP.NET web application

This would help a lot

SSL Error Codes & Corresponding Message:

0 Everything is fine

1 Redo handshake before other things

2 Handshake loop is complete

3 An error occurred that cannot be further defined

4 An error occurred while reading

5 An error occurred in the provider. No further information is available

6 A required library is missing

7 A required library has no entry point?

8 Initialization (of whatever was being initialized, library

9 There is no memory left for the application to use

10 Can't locate your certificate.

11 Your certificate isn't in a format readable by the provider

12 You do not have permission to access the specified certificate

13 The SSL package isn't there (SChannel specific)

14 Can't work to the cipher strength required

15 The context has expired or isn't properly initialized

16 The buffer read isn't a valid SSL packet

17 The buffer read isn't a valid socks 5 packet

18 Your SSL packet has been modified illegally

19 Your SSL packet is out of sequence

20 The data received is not a complete packet

21 The server response to socks hello is bad

22 The server response to socks connect request is bad

23 We do not support the given address type

24 Send the given buffer, and terminate the communication (SChannel specific)

25 Do socks 5 server side redirection before completing handshake (SChannel specific)

26 Unable to open the specified keystore

27 Unable to find the specified identity cert

28 The socket given to a function is not of the right type (SChannel specific)

29 The socks 5 handshake broke down in an unspecified manner

30 The buffer supplied is not big enough for all the data

31 The SDK context supplied is not valid for the function called

32 The clients socks 5 hello is bad

33 The clients connect request is bad

34 The socks 5 command requested is not supported

35 The socks 5 server refuses to redirect to the required destination

36 The destination network requested is inaccessible

37 The destination host requested is unreachable

38 Connection to the destination host requested is refused

39 The TTL on the packet sent the destination host requested expired

40 The hostname could not be resolved

41 A socket could not be created

42 Connection to the host is refused

43 A close notify alert was received

44 An unexpected message alert was received

45 A bad mac alert was received

46 A decompression failure alert was received

47 A handshake failure alert was received

48 A no certificate alert was received

49 A bad certificate alert was received

50 An unsupported certificate alert was received

51 A certificate revoked alert was received

52 A certificate expired alert was received

53 A certificate unknown (untrusted) alert was received

54 An illegal parameter alert was received

55 An unknown alert was received (probably TLS alert)

56 Unable to set the CA certs verify path (OpenSSL specific)

57 Unable to set identity certificate

58 Unable to set private key

59 The common name on the ID certificate is not what was expected

60 (OpenSSL specific) a zero depth self signed cert was received

61 (OpenSSL specific) a root cert to match the identity received could not be found locally

62 (OpenSSL specific) a root cert to match the identity received could not be found at all

63 (OpenSSL specific) a self signed cert was in the chain received

64 (OpenSSL specific) unable to verify the signature on the leaf cert

65 (OpenSSL specific) unable to decode the issuers public key

66 (OpenSSL specific) unable to verify the signature on a cert

67 (OpenSSL specific) the before field in the cert is corrupt

68 (OpenSSL specific) the certificate is not yet valid

69 (OpenSSL specific) the expiry field in the cert is corrupt

70 (OpenSSL specific) the certificate has expired

71 A method called is unimplemented

72 The provider could not load any of the root certs in the keystore

73 The provider could not load some of the root certs in the keystore

74 Client authentication failed

75 The connection timed-out

76 A server certificate was revoked

77 No CRL could not be retrieved for one of the certificates

78 Revocation support is not available
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paypal integration sathian C# Programming 1 02-27-2008 09:45 PM
Paypal integration in classic asp Dinakaran ASP and ASP.NET Programming 3 11-26-2007 06:46 AM
Dibs Payment Integration JSureshkumar PHP Programming 10 08-23-2007 05:27 AM
Paypal Integration for .NET web application H2o ASP and ASP.NET Programming 0 07-16-2007 11:47 PM
Integration Testing sri_cci Software Testing 2 03-30-2007 02:52 AM


All times are GMT -7. The time now is 03:35 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0