Powered by Blogger.

Saturday, March 15, 2014

Secure Socket Layer(SSL) in Asp.Net

In this post we will discuss about Secure Socket Layer(SSL) in Asp.Net.

Also you can check out:

- Exception handling in C#.Net

- WCF tutorial and example in C#.Net

- Data Binding and Graphics in WPF

- Secure Socket Layer (SSL) will provide secure communication between client and web service.

- The secure communication will be provided with encryption and decryption.

- This is strongly recommended when there is a sensitive data transmitted between client and web service. The sensitive information can be credit card number, bank account number etc.

- The encryption and decryption services will be provided by a Certification Authority (CA). The well known certification authority will be verysign, awte.

- The certification authority will provide encryption at various bit labels like 64 bit, 128 bit etc. When the bit label is high security will be more.

- The Certification Authority (CA) will charge for providing services.

- The company should purchase certificate from CA and the certificate will be provided with private and public key.

- The certificate has to be configured with the web site to implement SSL.

- The web site configured with SSL, should run on port number 443.

- The web site configured with SSL can not communicate with http protocol, it requires https protocol.

- When client makes a request to the web site, public key will be given to the client. When client submits data, encryption will take place based on public key. The encrypted data will be sent to the web server. Web server will perform decryption with the matching private key. Then the request will be processed.

The response will be encrypted based on the private key. Then it will be sent to the client system. It will decrypted with public key and result will be given to the client.