I use a SSL in my main domain, that is the one my clients access.
However, I have a second domain with the same content (including login credentials) that I use only for test and development.
Should I secure this test domain too?
I use a SSL in my main domain, that is the one my clients access.
However, I have a second domain with the same content (including login credentials) that I use only for test and development.
Should I secure this test domain too?
Yes, you should. You might need to test if e.g. a particular request works over HTTPS, but testing on a production system is a bad idea (the production system should remain stable), and your test system should match the production system as closely as possible. Secondly, if you're sharing the login details between domains, why shouldn't the test domain be secured as well?
If the price of the certificate is a problem, what you can do is:
I have a second domain with the same content (including login credentials) that I use only for test and development.
If the second domain provides the same content and has the same login credentials and is accessible from the internet too then there is no reason that it should not get same protection (i.e. SSL) as the first domain.
Not only should you use SSL for your test domains, but you need to if you want to enable security features like HSTS Preloading.
You should. That is the short answer.
In the longer answer, you would be surprised to know how many times security vulnerabilities happen from internal users of an organisation. e.g, If your test environment has admin credentials, then a unprotected transport layer mean someone from your organisation (who is not an authorised admin) can potentially sniff and get the admin credentials - which you don't want.
If certificate cost is an issue, you can always have self signed certificate issued. But you should make sure this signing authority (whoever is generating this internal certificate for you) is installed as trusted CA on the testing desktops. Otherwise your browser might throw error that this certificate is signed by someone untrusted. If you run 'certmgr.msc' in windows, you can see the trusted CAs for any particular machine.
Yes...testing is only valid if it simulates the production environment, including how it performs over https. Wildcard certs are fairly cheap, so just put the test domain under a subdomain. You test domain should probably not be public facing though unless the client requires access to it from random IP's, otherwise lock it down to your own IP range in the virtualhost or firewall. Plus its a good way to make sure all the content on your website is available over https.
You definitely need it for testing purposes. We have had situations where behavior of our system was different on SSL from insecure connection.
For security purposes it is not required, since you can move your test environments behind VPN.