Clearly /etc/postfix/tls/ws.pem is malformed. How are you constructing this
file? It should look like (each line should end with a newline character,
i.e. LF not CR or CR+LF):
>>>>>>>>>My file looks like
-----BEGIN PRIVATE KEY-----
... base64 data ...
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
... base64 data ...
-----END CERTIFICATE----------BEGIN CERTIFICATE----- (THIS IS HOW IT
LOOKS)
... base64 data ...
-----END CERTIFICATE-----
>>>>>>>>>>>>>>
# EE private key
-----BEGIN PRIVATE KEY-----
... base64 data ...
-----END PRIVATE KEY-----
# EE certificate
-----BEGIN CERTIFICATE-----
... base64 data ...
-----END CERTIFICATE-----
# Issuer of EE certificate
-----BEGIN CERTIFICATE-----
... base64 data ...
-----END CERTIFICATE-----
# Any issuer(s) of above issuer
...
[ The lines starting with "#" are optional and can contain "comments"
in various other formats, so long as they don't start with five "-"
characters, they're ignored. ]