V
V
Vladislav Vasiliev2016-12-10 00:23:13
icecast
Vladislav Vasiliev, 2016-12-10 00:23:13

How to solve problem with ssl in icecast-kh?

Hello! I'm trying to make icecast open via https, but there was a problem with the certificate.
I generate like this:

openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout key.pem -out /usr/local/share/icecast/key.pem

The error that is in the logs:
[2016-12-09  22:20:08] WARN connection/get_ssl_certificate Invalid private key file /usr/local/share/icecast/key.pem
[2016-12-09  22:20:08] WARN connection/get_ssl_certificate failed to load cert /usr/local/share/icecast/key.pem (PEM lib)
[2016-12-09  22:20:08] INFO connection/get_ssl_certificate No SSL capability on any configured ports

What put me more into a stupor - everything works on the VDS, but not on the dedicated one. Configs are the same, collected the same way.
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question