Kibana is not connecting with elasticsearch shield SSL

Yes its pem file formatted...We used openssl x509 -in certificate.crt -out certificate.pem these command to generate pem file.