https redirect without www with apache and startssl [closed]

2

It's a bit complicated thing ... But the problem is simple. I use the free certifier StartSSL and as it's free I can create keys only for my domain and a subdomain.

It turns out that I've replaced and eventually lost the (.key) key that is responsible for the "www" subdomain. I have other keys, for example, for "panel.site" and ".site", "server.site" and ".site" ... And so on.

If you connect link or www.site it redirects to link . But I wanted it (it worked before losing .key ) in the link also to link .

The redirect inside apache does not work, because before it redirects you have to change the keys, which leads me to a certificate error. I thought of instead of using a cname www in dns I use as subdomain redirected to some directory, eg .com / redir / the domain.com - but it did not work out.

Look ... I do not know if I explained a little or I got in the way of explaining a lot ... but it's simple ... Direct www secure to domain.com without error ssl .

I can generate keys but I would continue the error. I just have the original .crt file.

Can anyone help me ?? Will I have to pay for the revocation ???

    
asked by anonymous 30.11.2014 / 00:11

1 answer

-1

It's just taking the www and too http. Example: mydomain.com

    
01.12.2014 / 00:13