[Icecast] SSL-Question

Paul Martin pm at nowster.me.uk
Wed Jun 24 10:11:09 UTC 2020


On Tue, Jun 23, 2020 at 08:58:43PM +0200, Ervin Bizjak wrote:
> Tgis is my certificate:
> -----BEGIN CERTIFICATE-----
> MIIGfjCCBGagAwIBAgIRAPqeon+kOZ6aXWx4AImqAQwwDQYJKoZIhvcNAQEMBQAw
> SzELMAkGA1UEBhMCQVQxEDAOBgNVBAoTB1plcm9TU0wxKjAoBgNVBAMTIVplcm9T
> U0wgUlNBIERvbWFpbiBTZWN1cmUgU2l0ZSBDQTAeFw0yMDA1MDcwMDAwMDBaFw0
> -----END CERTIFICATE----------BEGIN CERTIFICATE-----
> MIIG1TCCBL2gAwIBAgIQbFWr29AHksedBwzYEZ7WvzANBgkqhkiG9w0BAQwFADCB
> iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0p
> -----END CERTIFICATE----------BEGIN RSA PRIVATE KEY-----
> MIIEogIBAAKCAQEAkCUP/iQJgZ2HVgA/o6LRjRfiHgr2/yWxCTwS24vBpxepKEJZ
> m/smYD3livDhXID3fjI9vJPnPkCgr9u6G63yqt41DK6fZ5ojnbJXD88SykRMP/Cs
> Dk+qAojubW1UqzG2NKeOVZ6xslDt4N5U27rw2VStrUwk1kx5Lt0=
> -----END RSA PRIVATE KEY-----

I'm sure you can see the problem. Compare with mine below.

All lines with base64 code on them should be the same length (64
characters), apart from the final one in each block, which should be a
multiple of 4 characters in length.

The END and BEGIN lines should be separate, and not joined as above,
and there are five dashes before and after the BEGIN FOO or END FOO
text.


> > -----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-----

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



More information about the Icecast mailing list