tags 767741 + moreinfo
thanks

Hi Alexander,

It seems like you've disabled TLS for your server.

On Sun, Nov 2, 2014 at 1:51 PM, Alexander <alex1...@gmx.net> wrote:
>
> -- Configuration Files:
> /etc/prosody/conf.avail/localhost.cfg.lua changed:
> -- Section for localhost
> --      enabled = false -- Remove this line to enable this host
> -- This allows clients to connect to localhost. No harm in it.
> VirtualHost "localhost"
> http_host = "localhost" -- HTTP requests will be addressed to here

There's no ssl options in localhost.cfg.lua.

> /etc/prosody/prosody.cfg.lua changed:
...
> -- These are the SSL/TLS-related settings. If you don't want
> -- to use SSL/TLS, you may comment or remove this
> -- ssl = {
> --      key = "/etc/prosody/certs/localhost.key";
> --      certificate = "/etc/prosody/certs/localhost.cert";
> --}

The ssl options are commented out.

...
> -- Settings under each VirtualHost entry apply *only* to that host.
> VirtualHost "example.com"
>         enabled = false -- Remove this line to enable this host
>         -- Assign this host a certificate for TLS, otherwise it would use the 
> one
>         -- set in the global section (if any).
>         -- Note that old-style SSL on port 5223 only supports one 
> certificate, and will always
>         -- use the global one.
>         ssl = {
>                 key = "/etc/prosody/certs/example.com.key";
>                 certificate = "/etc/prosody/certs/example.com.crt";
>         }

These options are specified for a disabled virtual host.

>
> -- no debconf information
> Content of prosody.err
> Nov 02 11:23:11 localhost:tls   error   Unable to initialize TLS: No SSL/TLS 
> configuration present for localhost
> Nov 02 11:23:11 localhost:tls   error   Unable to initialize TLS: No SSL/TLS 
> configuration present for localhost
>
> Client SecureChat unable to connect because SSL is not supported. lua-sec is 
> installed.

Could you try to add the following lines to your
/etc/prosody/conf.d/localhost.cfg.lua and look if TLS is back after
Prosody restart?
ssl = {
      key = "/etc/prosody/certs/localhost.key";
      certificate = "/etc/prosody/certs/localhost.cert";
}

Make sure that /etc/prosody/certs/localhost.key and
/etc/prosody/certs/localhost.cert exist. They should link to
../../ssl/private/ssl-cert-snakeoil.key and
../../ssl/certs/ssl-cert-snakeoil.pem respectively.

Cheers!
-- 
Sergei Golovan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to