ok, here is how i tried to setup the ssl part:
prosody.cfg.lua:
---8<---
[...]
ssl = {
key = "/etc/prosody/certs/localhost.key";
certificate = "/etc/prosody/certs/localhost.cert";
}
[...]
Include "conf.d/*.cfg.lua"
--->8---
and here is one the five virtualhost configs:
conf.d/domain1.cfg.lua
---8<---
VirtualHost "
domain1.com"
enabled = true
ssl = {
key = "/path/to/key/domain1.key";
certificate = "/path/to/cert/domain1.pem";
}
--->8---
conf.d/domain2.cfg.lua
---8<---
VirtualHost "
domain2.com"
enabled = true
ssl = {
key = "/path/to/key/domain2.key";
certificate = "/path/to/cert/domain2.pem";
}
--->8---
and so on...
The prosody version is 8.1.2 (ubuntu precise). On the DNS side all domains are resolving to the same IP.
When i try to connect to the server (with psi, version 0.14), it always present the cert for localhost, regardless to which configured virtualhost i try to connect. When i remove the symlink to one of this virtualhosts, my client (psi 0.14) correctly reports that there is no domain configured.
I'm really clueless at the moment, but maybe it is only a simple thing i've missed...
Regards,
Roli