Frederick Cheung wrote:
> On 20 Feb 2009, at 17:13, Ashikali Ashikali wrote:
> 
>>>> encryption using certificate public key . But this is working how ?
>>
>> (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

I grasped from your point . Thank you so much .

In linux debian apache I configured like this 
/etc/apache2/sites-available/default
NameVirtualHost *
<VirtualHost *>
        ServerAdmin webmas...@localhost
        DocumentRoot /var/www/vetrivel/public/
        SSLEngine on

        SSLCertificateFile /etc/ssl/certs/mycert.pem


        <Directory /var/www/vetrivel/public/>
                      Options ExecCGI FollowSymLinks
                      AllowOverride all
                      Order allow,deny
                      Allow from all
        </Directory>
</Virtualhost>

I disable the 80 port and I enabled 443 port . Then I have created
certificate file mycert.pem using openssl( linux based ) . Then I did
restart my apache daemon . When I call URL in firefox browser it is 
working
fine no problem .

If I use C# ( as a browser( as a client ) ) in windows instead of linux 
ruby( refer ruby https post request )
whether it will work or not ? Do I need to do any changes on creating 
mycert.pem
file or I have to change any configuration settings on apache to do this 
. I request you to clarify my doubts .

cheers ,
ashikali


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to