This happens post editing of the truststore.pem file (while installing SecOps) and if the file contains unnecessary blank lines

Resolution

To fix, edit the /etc/puppet/modules/rabbitmq/files/truststore.pem file and remove any blank lines.Example: If the file is as follows, remove the blank line before the first "END CERTIFICATE" and the blank like between the two certificatesBEFORE EDITING# cat /etc/puppet/modules/rabbitmq/files/truststore.pem-----BEGIN CERTIFICATE-----MIIFuDCCA6CgAwIBAgIBATANBgkqhkiG9w0BAQsFADA6MTgwNgYDVQQDDC9QdXBwZXQgQ0E6IDZjZTc5YzU4LWMwNzktNDU1OS1hMWJmLTMyMTA3MDYwMGUzNDAeFw0xNDA5MDgxOTMyMTdaFw0xOTA5MDgxOTMyMTdaMDoxODA2BgNVBAMML1B1cHBldCBDQTogNmNlNzljNTgtYzA3OS00NTU5LWExYmYtMzIxMDcwNjAwZTM0MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAvmL8hy4N15ArJGOLvu/9WFxzzvlaCejxczMUO8qdqv5l+8sLfZ9CL1kjg+dYHhsXpJz899W//GWm+b2PMNYPZhUJ6WBnrk4qhCRpx0t3KdjyMeEGC1TjbTXPC6qANXIvYVBb8rbZx9B/+IKnhQsQCMBKuQDW0aqIH3N5ocXuH+00HtbDxq6XXjFOeiNcP4YIq+JzkZOGmSk0ix10Ry1Jkj336H181vJVN0atATzTm1/t+z2wbw0xpF4Lhi7ZBlpYg9AwYanf/0SRYfn6/OzFcP0ErtJO8Res7uSA6tucNVRFjl3MVKl844D3S0u5LSysqeELoz5AbwNJSrSBiSjfd353iD9LQxEkMHekm4bpdvVm7q1m2BJPwEXod0gdn/Q5fn3LAYvTKpcyAmYl3wGHGer6AdcHtXbSYLH9aTlOrP8aYlQ2xcbqOigm9t9RATugT12EDoASGA/qnc+NBUoTqoXnU8751ZCffMjRXnRPfYSiOVdJlLVyu+fVkpVPrl4zMOASnfBgOHotPRfJDC7y0NDr6o2hyzPFFcwStGNK+jIHXAQE+EA7pDGZCM8VVZsX0SAS9WLzREd+UDY6B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