Author |
|
Cui
Joined: 11 Jan 2016 Posts: 8 Location: Beijing
|
Posted: Mon 11 Jan '16 10:17 Post subject: How can I remove port number on ssl domains |
|
|
Hi,
My server is CentOS 5.11 and apache 2.2.3.
My server doesn't support SNI and I can't update this environment.
So, I serve two ssl domains on different port.
forexample:
https://one.domain.com/
https://two.domain.com:444/
These works properly.
But I want to remove port number from address in second domain like "https://two.domain.com/".
How can I do it?
Thanks in advice. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 11 Jan '16 10:56 Post subject: |
|
|
A solution might be to use subdomains with a wild card certificate. |
|
Back to top |
|
Cui
Joined: 11 Jan 2016 Posts: 8 Location: Beijing
|
Posted: Mon 11 Jan '16 11:08 Post subject: |
|
|
Does apache 2.2.3 support wildcard? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 13 Jan '16 13:17 Post subject: |
|
|
The certificate must support that. And yes your apache version supports that. |
|
Back to top |
|
Cui
Joined: 11 Jan 2016 Posts: 8 Location: Beijing
|
Posted: Wed 13 Jan '16 14:39 Post subject: |
|
|
Thanks James Blond. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 13 Jan '16 17:47 Post subject: |
|
|
With that certificate you will use the same certificate in each subdomain vhost.
if you sill have a question please ask again. |
|
Back to top |
|