Apache configuration

In the https scenario , I have configured my cerificate in appache configuration file .

Do I need any decryption method to decrypt this in my rails
application ?

As far as https is concerned that will all be handled by apache.

Fred

Frederick Cheung wrote:

In the https scenario , I have configured my cerificate in appache configuration file .

Do I need any decryption method to decrypt this in my rails
application ?

As far as https is concerned that will all be handled by apache.

Fred

Thank you so much Fred .

I have lot of confusing over here .

Doubts :        Please see this ruby code ,

require 'net/http' require 'net/https'

http = Net::HTTP.new('192.168.1.191' , 443 ) http.use_ssl = true p http.peer_cert path = '/main/test' data = 'msisdn=919822222222&PTRefId=12345236789012345678&PTDateTime=20090120123020&custid=1234567890&messageType=50011' resp, data = http.post(path, data, nil ) puts( resp,data )

Here I am posting this data to my https apache server . Being a client I have to encrypt this data using public key . But here I didn't do any encryption using certificate public key . But this is working how ?

can you explain me ?

cheers , ashikali

,data )

Here I am posting this data to my https apache server . Being a client I have to encrypt this data using public key . But here I didn't do
any encryption using certificate public key . But this is working how ?

can you explain me ?

net/http does all the ssl stuff for you (and so for you the only
difference between ssl and not ssl is a different port and setting
that use_ssl property.

Fred

Frederick Cheung wrote:

Frederick Cheung wrote:

,data )

Here I am posting this data to my https apache server . Being a
client I have to encrypt this data using public key . But here I didn't do any encryption using certificate public key . But this is working how ?

can you explain me ?

net/http does all the ssl stuff for you (and so for you the only difference between ssl and not ssl is a different port and setting that use_ssl property.

Fred

I could not understand this ,

(and so for you the only difference between ssl and not ssl is a different port and setting that use_ssl property )

I'm saying that for a person using net::http all you have to do is set
use_ssl and connect to a different port.

Fred