Thank you for giving your input. The issue is now resolved. Actually i was comparing the private.key with the cert.pem and error occurred. I reinstalled the key and this time concatenated the root file text correctly. The error is now no more but thank you for kind input.