[Icecast] SSL-Question

Paul Martin pm at nowster.me.uk
Tue Jun 23 16:33:36 UTC 2020


On Tue, Jun 23, 2020 at 07:58:35AM +0200, Ervin Bizjak wrote:
> CAT not working for me, because I use windows8, not Linux.

In that case you probably need to check the files are proper text
files and correctly terminated.

Open the icecast.pem file in a text editor. It should look something
like this. The "..." represents many lines of base-64 encoded
data. All the data lines should be the same length, except for the
last line in each section.

-----BEGIN CERTIFICATE-----
MIIFwjCCBKqgAwIBAgISBIPa+jJe6VGpeSANiZUlOHRoOMSd5ShZqIkvDQC2dkm0
mWW12hv4hfXgohn93Q/NstHq3hu5wRega3caQ9xtrf0LNTABdeuXuOntwBSzIGvx
h+JGlOrXRo8x3FwyFNOilTU9aXTwB31T//l7pEQtrJwzhU8oW91sXhRpH/85IMYY
...
Q54SFBxXzaxh/Ctqdgv2Ps+3O35Y0EhOQY5egC2EneXza9cxFeM=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIEkjCCA3qgYMEOPwO0GoU9OP6z1NeelJPc4ViX7yM/yVOzY8o43SMR1EPAKWnL
JXS+afquhx6n4SjHKy8D142K55w11beTgN0XtERQ6CQVsWrWB7T+AqGpkAoyh3Nl
FdylWWkUsHCfYecjfYzA0nNqhpgISaCbmGsuj8HmT6+kr3ha0WdMvy+wy7tb3Exf
...
X7SLD9j35mPMO2BGAPONMqhiQ+qluw==
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANAW64kp3aGDR1DiYTuRsd/yq9KqBXNky2sidHHIGXiaJ7ETNXvuPt
Xf+nTNfaOi1oO6cmzWSdu1pzxEfJkqHGNq4Y3KhPuL9WFQeO7R0zQnnPOTA0xT26
k8OGh2BeT7bMD44/Y2v6QaMZgfLLmAcq8v6XUPqRwMMy58j1n5fusWPcmUJFY1nW
...
408Pk4F/cVOz/l+aPiHWPqg=
-----END PRIVATE KEY-----

The most likely damage would be that the begin/end delimiters are
mashed together, or that there are cut-and-paste errors.

PS. Just in case anyone's wondering, the data in my example here
beyond the first few bytes are random gibberish. It's not part of any
valid certificate or key data.

-- 
Paul Martin <pm at nowster.me.uk>



More information about the Icecast mailing list