On Wed, 09 Sep 2015 06:19:46 GMT, Sönke Ludwig wrote:

On Wed, 02 Sep 2015 13:57:40 GMT, Kilomoana wrote:

Hi,

I receive the following error:

NET::ERRCERTCOMMONNAMEINVALID

from a certificate I use with a vibe.d server. Is it possible to set Apache like Virtual Hosts (ServerAlias)?

Or is there another workaround for this error. Vibe.d version is 0.7.21.

Error link:
https://46.253.146.132:8087/crossdomain.xml

Greetings

Kilo Moana

Virtual hosts are supported using the HTTPServerSettings.hostName field - calling listenHTTP multiple times with the same port but different host names will cause the server to dispatch requests to the appropriate host name automatically. It will also use SNI if different virtual hosts have different TLS certificates.

But the problem in this case AFAICS cannot be solved on the server side. The client simply has to connect to https://yxz.gamigo.com/crossdomain.xml instead of directly to the IP address. The gamigo.com DNS server then has to have the IP address configured for that sub domain.

Thanks you for your reply.

I've already setted it up with the virtual hosts but can't establish a connection from external. Now I am receiving the following error:

Handling of connection failed: Failed to accept SSL tunnel: error:1407609C:SSL routines:SSL23GETCLIENT_HELLO:http request (336027804)

Greetings

Kilo Moana