Could not parse certificate

I am facing below issues when try to initialize X509 certificate . Am I
missed something here. Please help

store =

Here it throws :

OpenSSL::X509::CertificateError: Could not parse certificate: Empty input.

NOTE : storetype =jceks’

Let me know for any further information.


Hi Khirod,

I believe that it is due to method: add_cert expects a certificate file
rather another keystone.
A certificate file would be like *.pem or *.cer, *.crt


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs