OpenSSL::PKey::RSAError in Lti::LoginInitiationsController#index

Neither PUB key nor PRIV key: nested asn1 error

Extracted source (around line #9):
7
8
9
10
11
12
              
def openssl_private_key
OpenSSL::PKey::RSA.new(private_key)
end
def openssl_public_key

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"iss"=>"https://lti-ri.imsglobal.org",
 "login_hint"=>"332654",
 "target_link_uri"=>"https://lti-ri.imsglobal.org/lti/tools/1683/launches",
 "lti_message_hint"=>"32506",
 "client_id"=>"12345",
 "lti_deployment_id"=>"1",
 "tool_id"=>"1683"}

Response

Headers:

None