Secure more than one instance - localhost
Posted by: swehjo (---.tbcn.telia.com)
Date: August 06, 2017 03:43PM

I have set up a working certificate for "localhost" on Wamp Server 3.0.8 32bit on my windows 10 PC. I thought/hoped that would work, be inherited, for my other project as well, "mb219dev", which I use as a Joomla development environment for my live site.

If I try "[mb219dev"]; it get this "invalid certificate"/"certificate error" or when I try to login "[mb219dev]; it gives "Not Found. The requested URL /administrator/index.php was not found on this server."

Should I now:
1. create a new certificate for "mb219dev", replacing any references to "localhost" (or "www.wamphelpers.dev" as in the tutorial [forum.wampserver.com])
2. or follow the links "to secure more than one site per appache instance" given in the tutorial above?
3. or do I need to look for the error somewhere else?

If alternative 2, I haven't stumbled upon any "ssl on localhost"-tutorial which involves "SSLCertificateChainFile"...

Best Regards
HÃ¥kan
Stockholm, Sweden

Options: ReplyQuote
Re: Secure more than one instance - localhost
Posted by: RiggsFolly (Moderator)
Date: August 07, 2017 01:21PM

Hi

If you check the APache manual you would have found that SSLCertificateChainFile is deprecated and no longer required

I would follow the instruction on `securing more than one site per appache instance`

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Secure more than one instance - localhost
Posted by: swehjo (---.tbcn.telia.com)
Date: August 07, 2017 09:54PM

Thanks, then I dive into that!

Options: ReplyQuote
Re: Secure more than one instance - localhost
Posted by: swehjo (---.tbcn.telia.com)
Date: August 15, 2017 08:45PM

Works perfectly! Thanks!

Options: ReplyQuote


Sorry, only registered users may post in this forum.