timmer81 Posted February 3, 2010 Share Posted February 3, 2010 Hi all I've recently just bought a ssl certificate and wanted to know what changes I need to make to the coding (if any) now I have this ssl certificate as when I orginally set the store up I did not have 1. Thanks in advance Timmer Link to comment Share on other sites More sharing options...
web-project Posted February 3, 2010 Share Posted February 3, 2010 Have you got the dedicated IP address on your account? You need to install the SSL via control panel and after edit the config.php file to update the following: define('HTTP_SERVER', 'http://www.your-domain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.your-domain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
timmer81 Posted February 4, 2010 Author Share Posted February 4, 2010 Hi there, Thank you for your reply. Yeah I have a dedicated IP address, the hosting company have set it all up in control panel for me but I have not done anything on the shop admin side of things. So all I need to do is what you have said and job done? Regards Tim Have you got the dedicated IP address on your account? You need to install the SSL via control panel and after edit the config.php file to update the following: define('HTTP_SERVER', 'http://www.your-domain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.your-domain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? Link to comment Share on other sites More sharing options...
ogg Posted March 23, 2010 Share Posted March 23, 2010 I am also in the same situation. My SSL cert was about to expire so I contacted my host and I got a new SSL cert issued. They emailed me and said it was install and ready. The old cert has got about 2 weeks left before it expires and my website is still using it. My question is, will the new SSL cert automatically begin to work after the old one has expired? Do I have to configure anything on my website to make the new one work? Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted March 23, 2010 Share Posted March 23, 2010 I am also in the same situation. My SSL cert was about to expire so I contacted my host and I got a new SSL cert issued. They emailed me and said it was install and ready. The old cert has got about 2 weeks left before it expires and my website is still using it. My question is, will the new SSL cert automatically begin to work after the old one has expired? Do I have to configure anything on my website to make the new one work? Depends. An SSL cert has a valid FROM date and a valid TO date. You cannot start to use the cert prior to its valid FROM date. It also has a valid NAME to it. Most certs are valid for either www.domain.com or domain.com WITHOUT the www. It depends on the entries that you made when creating the CSR to purchase your cert. When your host tells you it has been installed check it by going to httpS://domain.com or httpS://www.domain.com or whatever the name is. Then change your configure.php files to match, making sure to use the correct name on the cert. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
ogg Posted March 24, 2010 Share Posted March 24, 2010 Depends. An SSL cert has a valid FROM date and a valid TO date. You cannot start to use the cert prior to its valid FROM date. It also has a valid NAME to it. Most certs are valid for either www.domain.com or domain.com WITHOUT the www. It depends on the entries that you made when creating the CSR to purchase your cert. When your host tells you it has been installed check it by going to httpS://domain.com or httpS://www.domain.com or whatever the name is. Then change your configure.php files to match, making sure to use the correct name on the cert. Thanks for your response In my /ssl/certs folder I have got two SSL certificates. One is called mydomain.com.crt (valid 12/2/10 to 12/2/11) the other cert is called mydomain.com.crt.old.1439178983 (valid 4/3/09 to 4/3/10). My website is still using the old cert as it says it will expire on 4/3/10. Both certificates are valid. How can I force my website to use the new SSL cert? If I delete the old cert from my server will it use the new cert by default? Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted March 24, 2010 Share Posted March 24, 2010 Thanks for your response In my /ssl/certs folder I have got two SSL certificates. One is called mydomain.com.crt (valid 12/2/10 to 12/2/11) the other cert is called mydomain.com.crt.old.1439178983 (valid 4/3/09 to 4/3/10). My website is still using the old cert as it says it will expire on 4/3/10. Both certificates are valid. How can I force my website to use the new SSL cert? If I delete the old cert from my server will it use the new cert by default? Don't know about your server, really. I run my own server and in my ssl.conf file I have pointers to which cert I want the server to start up using. If you have a hosted account somewhere you probably need to read up on your cPanel or somewhere on your hosts help pages to see what you need to do, or even if you have the capabilities to do it yourself. It's pretty much server dependent. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.