Bitcoin Forum

Economy => Marketplace => Topic started by: Mahkul on April 01, 2011, 09:10:06 AM



Title: Anyone here experienced with apache SSL configuration?
Post by: Mahkul on April 01, 2011, 09:10:06 AM
I have my site "kind of" working with SSL. I purchased the cerficiate and installed it, but there are some problems with the site. If you want to earn yourself some bitcoins and know this stuff, PM me.


Title: Re: Anyone here experienced with apache SSL configuration?
Post by: genjix on April 01, 2011, 11:01:29 AM
What files did you get in the install?

I have:
Code:
NameVirtualHost *:80
NameVirtualHost *:443
Listen 80
Listen 443

Code:
<VirtualHost *:443>
     SSLEngine On
     SSLCertificateFile /etc/apache2/ssl/britcoin.co.uk.crt
     SSLCertificateKeyFile /etc/apache2/ssl/britcoin.co.uk.key
     SSLCertificateChainFile /etc/apache2/ssl/gd_bundle.crt

     ServerAdmin webmaster@britcoin.co.uk
     ServerName britcoin.co.uk
     DocumentRoot /www
     ErrorLog /apache2/error.log
     CustomLog /apache2/access.log combined
</VirtualHost>

Maybe that helps.


Title: Re: Anyone here experienced with apache SSL configuration?
Post by: Mahkul on April 01, 2011, 11:16:15 AM
Thanks genjix, that's exactly the way I have it set up. I figured that my problem lies with the code of my website - it contacts another webpage, which is not SSL-enabled. That more than likely causes the problem, I think? Chrome says the connection to my website is encrypted, but it contains elements, which are not. I will have to get rid of those links - unless I am wrong?


Title: Re: Anyone here experienced with apache SSL configuration?
Post by: genjix on April 01, 2011, 11:39:46 AM
I guess so.

If you can place a test.html in / and it works then that's probably your problem.


Title: Re: Anyone here experienced with apache SSL configuration?
Post by: error on April 01, 2011, 05:07:27 PM
Thanks genjix, that's exactly the way I have it set up. I figured that my problem lies with the code of my website - it contacts another webpage, which is not SSL-enabled. That more than likely causes the problem, I think? Chrome says the connection to my website is encrypted, but it contains elements, which are not. I will have to get rid of those links - unless I am wrong?

Right. If you pull inline resources (images, JavaScript, CSS, etc.) which are from non-secured websites, the browser will throw a warning. So it's best to serve all such resources from your secure site, or from someone else's secure site.


Title: Re: Anyone here experienced with apache SSL configuration?
Post by: idev on April 01, 2011, 09:50:04 PM
Also you will need to ensure all links are https or /whatever directory.